]> git.baikalelectronics.ru Git - kernel.git/commit
p54: Fix for TX sequence number problem
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 5 Aug 2008 16:23:16 +0000 (11:23 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 7 Aug 2008 13:49:04 +0000 (09:49 -0400)
commit531ccf6da3ff0a67cef9dd5af8845e4ceffd5ca4
treece914aa0db9bda9ebef0a21dbb24aebef989d5e8
parent7cd3dc536ac3aaa5627217011c6fa53d3ece27cd
p54: Fix for TX sequence number problem

Following "mac80211: fix TX sequence numbers", if a packet
has the IEEE80211_TX_CTL_ASSIGN_SEQ assigned, a sequence number must be
supplied, either by hardware or software. AFAIK, no such hardware exists
for the p54, thus it must be done in software. With this patch, a connection
qith p54usb is stable, whereas the interface went off-line in 2-3 hours
without this change. Note that this code will have to be reworked for proper
sequence numbers on beacons. In addition, the sequence number has been placed
in the hardware state, not the vif state.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54.h
drivers/net/wireless/p54/p54common.c