mac80211: add some small fixes for minstrel_ht CCK support
SVN-Revision: 35576
This commit is contained in:
parent
4663d424a3
commit
31718416e6
1 changed files with 9 additions and 9 deletions
|
@ -2722,7 +2722,7 @@
|
||||||
+ CCK_ACK_DURATION(110, _short)
|
+ CCK_ACK_DURATION(110, _short)
|
||||||
+
|
+
|
||||||
+#define CCK_GROUP \
|
+#define CCK_GROUP \
|
||||||
+ { \
|
+ [MINSTREL_MAX_STREAMS * MINSTREL_STREAM_GROUPS] = { \
|
||||||
+ .streams = 0, \
|
+ .streams = 0, \
|
||||||
+ .duration = { \
|
+ .duration = { \
|
||||||
+ CCK_DURATION_LIST(false), \
|
+ CCK_DURATION_LIST(false), \
|
||||||
|
@ -2763,7 +2763,7 @@
|
||||||
+ } else {
|
+ } else {
|
||||||
+ group = MINSTREL_CCK_GROUP;
|
+ group = MINSTREL_CCK_GROUP;
|
||||||
+
|
+
|
||||||
+ for (idx = 0; idx <= ARRAY_SIZE(mp->cck_rates); idx++)
|
+ for (idx = 0; idx < ARRAY_SIZE(mp->cck_rates); idx++)
|
||||||
+ if (rate->idx == mp->cck_rates[idx])
|
+ if (rate->idx == mp->cck_rates[idx])
|
||||||
+ break;
|
+ break;
|
||||||
+
|
+
|
||||||
|
@ -2822,7 +2822,7 @@
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
- return !!(rate->flags & IEEE80211_TX_RC_MCS);
|
- return !!(rate->flags & IEEE80211_TX_RC_MCS);
|
||||||
+ if (rate->flags & IEEE80211_TX_RC_MCS);
|
+ if (rate->flags & IEEE80211_TX_RC_MCS)
|
||||||
+ return true;
|
+ return true;
|
||||||
+
|
+
|
||||||
+ return rate->idx == mp->cck_rates[0] ||
|
+ return rate->idx == mp->cck_rates[0] ||
|
||||||
|
|
Loading…
Reference in a new issue