Diff for /wikisrc/Converting_drivers_to_the_new_wifi_stack.mdwn between versions 1.7 and 1.8

version 1.7, 2020/11/15 13:39:31 version 1.8, 2020/11/15 19:18:24
Line 204  reflects on the driver and causes most o Line 204  reflects on the driver and causes most o
     ic->ic_raw_xmit = urtwn_raw_xmit;      ic->ic_raw_xmit = urtwn_raw_xmit;
     ```      ```
   
  * There is no mbuf context (pointing at a struct ieee80211_node) associated  
    with the mbuf headers any more - remove all M_GETCTX() and all M_CLEARCTX()  
    from the driver code (probably found in the driver's start() function, which  
    is now replaced by the ic_transmit and ic_raw_xmit callbacks). Typical trap:  
    some code checks for changing conditions and calls the driver's start function  
    directly to get transmit going.  
   
  * detach does not deal with any interfaces any more, remove all traces   * detach does not deal with any interfaces any more, remove all traces
    of `struct ifnet *ifp`.     of `struct ifnet *ifp`.
   

Removed from v.1.7  
changed lines
  Added in v.1.8


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