ath9k mac layer to layer, layer to the hardware layer ath9k

 

 

 

As shown above, the entire layer is divided into two portions --UMAC mac and LMAC. LMAC into the lower half and the MAC hardware abstraction layer.

Hardware abstraction layer and the layers are connected ath9k

Struct ath_hw_ops hw.h function in the ()

Mac layer and connecting layers ath9k

In mac80211.h a function struct ieee80211_ops () function can see this is very important, of course, if we want to ath9k and mac layer communication, you can add the corresponding module directly on this function.

Mac communication layer and cfg80211

Struct ieee80211_ops cfg80211.h function in the ()

 

Here substantially complete lower layer to an upper layer of a communication, but this can be tedious. Interaction with the user mode kernel mode three ways netlink, / proc, ioctl. The first is a full-duplex, half duplex is behind both ways,

 

Read the source code found in / proc exist in debug.c

Guess you like

Origin www.cnblogs.com/yl1995/p/11082706.html