分享

ath9k_common

 异样天空~ 2011-09-26

ath9k_common

ath9k_common provides common helpers between ath9k_htc and ath9k.

It is technically possible for both the HTC devices and AHB/PCI/PCI-E devices to share the same mac80211 driver core but since the HTC devices require a driver core which can sleep during all read/writes at the moment ath9k_htc is kept separate. A lot of mac80211 callbacks do require to be able to sleep during operation though so we should be able to start bringing those together.

The ath9k virtual wiphy stuff was not copied over to ath9k_htc to avoid code complexity during bring up. If the ath9k virtual wiphy stuff is removed from ath9k then even more code sharing is possible however at the moment it remains unclear what the future holds for the ath9k virtual wiphy stuff.

TODO

After ath9k_htc gets merged upstream review how we can use the device platform to register ops for read/write just as ssb does. Although the HTC framework is completely a software concoction it can still use the driver platform APIs to provide a clean layer for drivers to register their own set of reads/writes for different types of interfaces. This is not a requirement for upstream inclusion but instead more an enhancement to consider once ath9k_htc gets merged.

Existing helpers

  • ath9k_cmn_rx_skb_preprocess() - preprocessor for skbs upon RX
  • ath9k_cmn_rx_skb_postprocess() - postprocessof for skbs upon RX
  • ath9k_cmn_padpos() - common padding helper

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约