diff options
author | Eliad Peller <eliad@wizery.com> | 2012-11-22 18:06:21 +0200 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-11-27 10:49:30 +0200 |
commit | 978cd3a0b82969c1f85942e208f8a00412964ef6 (patch) | |
tree | 8cfc62467aa8a966629386f7e77c96f251b33df9 /drivers/net/wireless/ti/wlcore/tx.c | |
parent | d50529c0d8b7f03012f140349161c29b0f7bd24c (diff) | |
download | blackbird-op-linux-978cd3a0b82969c1f85942e208f8a00412964ef6.tar.gz blackbird-op-linux-978cd3a0b82969c1f85942e208f8a00412964ef6.zip |
wlcore: save session_id per-link
A new session_id is generated on link allocation.
it is saved in a global array and used later, on tx.
The new fw api adds new bcast/global_session_id
fields to start_role(ap) command, and a new session_id
field to add_peer command. align the driver with it.
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/tx.c')
-rw-r--r-- | drivers/net/wireless/ti/wlcore/tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ti/wlcore/tx.c b/drivers/net/wireless/ti/wlcore/tx.c index 2844f305a489..68f73f935b8e 100644 --- a/drivers/net/wireless/ti/wlcore/tx.c +++ b/drivers/net/wireless/ti/wlcore/tx.c @@ -294,7 +294,7 @@ static void wl1271_tx_fill_hdr(struct wl1271 *wl, struct wl12xx_vif *wlvif, tx_attr |= TX_HW_ATTR_TX_DUMMY_REQ; } else if (wlvif) { /* configure the tx attributes */ - tx_attr = wlvif->session_counter << + tx_attr = wl->session_ids[hlid] << TX_HW_ATTR_OFST_SESSION_COUNTER; } |