Bug #1796 » ral.patch
sys/dev/netif/ral/rt2661.c | ||
---|---|---|
data = &txq->data[txq->stat];
|
||
m = data->m;
|
||
data->m = NULL;
|
||
ni = data->ni;
|
||
data->ni = NULL;
|
||
vap = ni->ni_vap;
|
||
/* if no frame has been sent, ignore */
|
||
if (ni == NULL)
|
||
continue;
|
||
ni = data->ni;
|
||
data->ni = NULL;
|
||
vap = ni->ni_vap;
|
||
switch (RT2661_TX_RESULT(val)) {
|
||
case RT2661_TX_SUCCESS:
|
||
retrycnt = RT2661_TX_RETRYCNT(val);
|
||
... | ... | |
} else if (tp->ucastrate != IEEE80211_FIXED_RATE_NONE) {
|
||
rate = tp->ucastrate;
|
||
} else {
|
||
(void) ieee80211_ratectl_rate(ni, NULL, 0);
|
||
ieee80211_ratectl_rate(ni, NULL, 0);
|
||
rate = ni->ni_txrate;
|
||
}
|
||
rate &= IEEE80211_RATE_VAL;
|
- « Previous
- 1
- 2
- Next »