qca / open-ath9k-htc-firmware

The firmware for QCA AR7010/AR9271 802.11n USB NICs
Other
429 stars 182 forks source link

Operation clean&sweep ar5416_hw.c #35

Closed olerem closed 11 years ago

olerem commented 11 years ago

Here is a pach set which mostly concentrate on ar5416_hw.c. Every thing what use functions provided by this file is affected too. It should go on top of my RC patch set. Wha i did:

Now i run tests with this changes, but it looks good. STA is working ok. AP mode is on the go.

olerem commented 11 years ago

Ooops, looks like it add STBC patches to this pull request.

olerem commented 11 years ago

I do not know how to separate STBC patches from others... so it should be better to wait until you apply them first.

erikarn commented 11 years ago

Hi!

I'm on holidays at the moment, but I'll get to this soon.

Adrian

On 11 May 2013 06:28, Oleksij Rempel notifications@github.com wrote:

Here is a pach set which mostly concentrate on ar5416_hw.c. Every thing what use functions provided by this file is affected too. It should go on top of my RC patch set. Wha i did:

function names should not be converted more then two times. So i removed most macros conversations. remove unused functions. remove unused headers.

Now i run tests with this changes, but it looks good. STA is working ok. AP mode is on the go.


You can merge this Pull Request by running

git pull https://github.com/olerem/open-ath9k-htc-firmware clean

Or view, comment on, or merge it at:

https://github.com/qca/open-ath9k-htc-firmware/pull/35

Commit Summary

ratectrl_11n_ln: nuke rcSibUpdate_11n simplify STBC handling nuke athhal*xstbcsupport remove ar5416phy.h, we do not use it remove unused wlan/queue.h do not include opt_ah.h, it is not used by ar5416_hw.c ah.c: do not inclue opt_ah.h ah_osdep.c: don't include adf_net_types.h ar5416_phy.c: don't include opt_ah.h ieee80211_output.c: remove unused includes wlan/if_ath.c: remove unused includes wlan/if_ath_pci.c: remove unused inlcudes if_owl.c: remove unused includes ratectrl_11n_ln.c: remove unused includes remove wlan/if_ethersubr.h ar5416_hw.c: remove ar5416GetCapability use ah_getRateTable directly use ah_detach directly use ah_updateTxTrigLevel directly remove ar5416GetTxDP use ah_setTxDP directly use ah_numTxPending directly use ah_startTxDma directly use ah_stopTxDma directly remove ah_getTxIntrQueue use ah_abortTxDma directly remove ar5416GetTsf32 use ah_getTsf64 directly remove ar5416ResetTsf use ah_setRxFilter directly remove ar5416GetRxDP use ah_setRxDP directly use ah_stopDmaReceive directly use ah_enableReceive directly remove ar5416StartPcuReceive use ah_stopPcuReceive directly use ah_isInterruptPending directly use ah_getPendingInterrupts directly remove ar5416GetInterrupts use ah_setInterrupts directly use ah_set11nTxDesc directly use ah_set11nRateScenario directly use ah_set11nAggrFirst directly use ah_set11nAggrMiddle directly use ah_set11nAggrLast directly use ah_clr11nAggr directly use ah_set11nBurstDuration directly use ah_setupRxDesc directly use ah_procRxDescFast directly remove ah_updateCTSForBursting use ah_setupTxDesc directly remove ar5416IntrReqTxDesc_20 use ah_fillTxDesc directly use ah_fillKeyTxDesc directly use ah_procTxDesc directly use ah_set11nVirtualMoreFrag directly ar5416Attach: remove useless check

File Changes

M target_firmware/wlan/ah.c (7) M target_firmware/wlan/ah.h (24) M target_firmware/wlan/ah_internal.h (2) M target_firmware/wlan/ah_osdep.c (7) M target_firmware/wlan/ah_osdep.h (1) M target_firmware/wlan/ar5416_hw.c (141) M target_firmware/wlan/ar5416_phy.c (1) M target_firmware/wlan/ar5416desc.h (1) D target_firmware/wlan/ar5416phy.h (460) M target_firmware/wlan/ieee80211_output.c (2) M target_firmware/wlan/if_ath.c (91) M target_firmware/wlan/if_ath_pci.c (1) M target_firmware/wlan/if_athvar.h (80) D target_firmware/wlan/if_ethersubr.h (79) M target_firmware/wlan/if_owl.c (69) D target_firmware/wlan/queue.h (567) M target_firmware/wlan/ratectrl.h (1) M target_firmware/wlan/ratectrl11n.h (14) M target_firmware/wlan/ratectrl_11n_ln.c (38)

Patch Links:

https://github.com/qca/open-ath9k-htc-firmware/pull/35.patch https://github.com/qca/open-ath9k-htc-firmware/pull/35.diff