mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
Flip on fast frames support for AR5416 and AR9300 series NICs.
This was off because the net80211 aggregation code was using the same state pointers for both fast frames and ampdu tx support which led to some pretty unfortunate panic-y behaviour. Now that net80211 doesn't panic, let's flip this back on. It doesn't (yet) do the horrific sounding thing of A-MPDU aggregates of fast frames; that'll come next. It's a pre-requisite to supporting AMSDU + AMPDU anyway, which actually speeds things up quite considerably (think packing lots of little ACK frames into a single AMSDU.) Tested: * QCA955x SoC, AP mode * AR5416, STA mode * AR9170, STA mode (with local fast frame patches)
This commit is contained in:
parent
4006520bea
commit
dc809fc15f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=289099
@ -2671,7 +2671,7 @@ ar9300_fill_capability_info(struct ath_hal *ah)
|
||||
p_cap->halBurstSupport = AH_TRUE;
|
||||
p_cap->halChapTuningSupport = AH_TRUE;
|
||||
p_cap->halTurboPrimeSupport = AH_TRUE;
|
||||
p_cap->halFastFramesSupport = AH_FALSE;
|
||||
p_cap->halFastFramesSupport = AH_TRUE;
|
||||
|
||||
p_cap->halTurboGSupport = p_cap->halWirelessModes & HAL_MODE_108G;
|
||||
|
||||
|
@ -937,13 +937,7 @@ ar5416FillCapabilityInfo(struct ath_hal *ah)
|
||||
|
||||
pCap->halCompressSupport = AH_FALSE;
|
||||
pCap->halBurstSupport = AH_TRUE;
|
||||
/*
|
||||
* This is disabled for now; the net80211 layer needs to be
|
||||
* taught when it is and isn't appropriate to enable FF processing
|
||||
* with 802.11n NICs (it tries to enable both A-MPDU and
|
||||
* fast frames, with very tragic crash-y results.)
|
||||
*/
|
||||
pCap->halFastFramesSupport = AH_FALSE;
|
||||
pCap->halFastFramesSupport = AH_TRUE;
|
||||
pCap->halChapTuningSupport = AH_TRUE;
|
||||
pCap->halTurboPrimeSupport = AH_TRUE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user