aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/p54/p54.h
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2008-08-05 11:23:16 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-08-07 09:49:04 -0400
commiteda0c003d1ff14c99d8476b482377ccfaf967b6c (patch)
treece914aa0db9bda9ebef0a21dbb24aebef989d5e8 /drivers/net/wireless/p54/p54.h
parentf367422794315b7632f2a78c93e15b3c757d4be8 (diff)
downloadkernel_samsung_smdk4412-eda0c003d1ff14c99d8476b482377ccfaf967b6c.zip
kernel_samsung_smdk4412-eda0c003d1ff14c99d8476b482377ccfaf967b6c.tar.gz
kernel_samsung_smdk4412-eda0c003d1ff14c99d8476b482377ccfaf967b6c.tar.bz2
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>
Diffstat (limited to 'drivers/net/wireless/p54/p54.h')
-rw-r--r--drivers/net/wireless/p54/p54.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/p54/p54.h b/drivers/net/wireless/p54/p54.h
index cac9a51..4801a36 100644
--- a/drivers/net/wireless/p54/p54.h
+++ b/drivers/net/wireless/p54/p54.h
@@ -52,6 +52,7 @@ struct p54_common {
int (*open)(struct ieee80211_hw *dev);
void (*stop)(struct ieee80211_hw *dev);
int mode;
+ u16 seqno;
struct mutex conf_mutex;
u8 mac_addr[ETH_ALEN];
u8 bssid[ETH_ALEN];