ar71xx: improve the wndr3700 quirks - move most of the code out of ath9k and instead...
[openwrt.git] / package / mac80211 / patches / 510-ath9k_aggr_delim_fix.patch
1 --- a/drivers/net/wireless/ath/ath9k/ath9k.h
2 +++ b/drivers/net/wireless/ath/ath9k/ath9k.h
3 @@ -177,8 +177,8 @@ void ath_descdma_cleanup(struct ath_soft
4
5 /* returns delimiter padding required given the packet length */
6 #define ATH_AGGR_GET_NDELIM(_len) \
7 - (((((_len) + ATH_AGGR_DELIM_SZ) < ATH_AGGR_MINPLEN) ? \
8 - (ATH_AGGR_MINPLEN - (_len) - ATH_AGGR_DELIM_SZ) : 0) >> 2)
9 + (((_len) >= ATH_AGGR_MINPLEN) ? 0 : \
10 + DIV_ROUND_UP(ATH_AGGR_MINPLEN - (_len), ATH_AGGR_DELIM_SZ))
11
12 #define BAW_WITHIN(_start, _bawsz, _seqno) \
13 ((((_seqno) - (_start)) & 4095) < (_bawsz))
This page took 0.043123 seconds and 5 git commands to generate.