Diff for /wikisrc/Converting_drivers_to_the_new_wifi_stack.mdwn between versions 1.13 and 1.14

version 1.13, 2021/02/10 18:50:43 version 1.14, 2021/02/13 17:29:08
Line 395  reflects on the driver and causes most o Line 395  reflects on the driver and causes most o
    past and there are other protocols. Also the `ieee80211_crypto_encap`     past and there are other protocols. Also the `ieee80211_crypto_encap`
    function lost its first argument (the radio common ic pointer).     function lost its first argument (the radio common ic pointer).
   
    The transmit function frees the `mbuf` and calls `ieee80211_free_node(ni)`     The transmit function queues the `mbuf` for transmit and
    in all error cases. Else it queues the `mbuf` for transmit and  
    makes sure when transmission is done by hardware to call     makes sure when transmission is done by hardware to call
    `ieee80211_tx_complete` with both `mbuf` and `ni`. This call     `ieee80211_tx_complete` with both `mbuf` and `ni`. This function
    will free the mbuf and the node, and in some cases also cause state     also needs to be called in all error cases, with an error value as
    machine callbacks.     status (last argument). The actual value does not matter, the stack
      just checks for 0 (success) and != 0 (failure). This call
      will free the mbuf and the node, and in some cases also cause
      further state changes (like waking up VAPs, scheduling a new scan
      later, or even causing immediate state machine transitions and retrying
      in error cases).
   
  * If the driver_activate() function only passes deactivation requests   * If the driver_activate() function only passes deactivation requests
    on to if_deactivate() you can replace it by a shim that gets     on to if_deactivate() you can replace it by a shim that gets

Removed from v.1.13  
changed lines
  Added in v.1.14


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb