rt2x00: Initialize txop during conf_tx() callback
The txop parameter is supported by rt61pci and rt73usb, and thus should be written to the register instead of using the fixed value set during initialization. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
2575c11d6e
commit
2af0a570b4
@ -666,10 +666,11 @@ int rt2x00mac_conf_tx(struct ieee80211_hw *hw, u16 queue_idx,
|
||||
queue->cw_max = 10; /* cw_min: 2^10 = 1024. */
|
||||
|
||||
queue->aifs = params->aifs;
|
||||
queue->txop = params->txop;
|
||||
|
||||
INFO(rt2x00dev,
|
||||
"Configured TX queue %d - CWmin: %d, CWmax: %d, Aifs: %d.\n",
|
||||
queue_idx, queue->cw_min, queue->cw_max, queue->aifs);
|
||||
"Configured TX queue %d - CWmin: %d, CWmax: %d, Aifs: %d, TXop: %d.\n",
|
||||
queue_idx, queue->cw_min, queue->cw_max, queue->aifs, queue->txop);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user