Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352204
b: refs/heads/master
c: 1e0708a
h: refs/heads/master
v: v3
  • Loading branch information
Arik Nemtsov authored and Luciano Coelho committed Dec 5, 2012
1 parent 83abca7 commit 5a7c694
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b50a62bb39c66e6ed5f1f581bb32644936f08cf3
refs/heads/master: 1e0708a9574aee0136611edc5d3a7a9b2775a113
2 changes: 2 additions & 0 deletions trunk/drivers/net/wireless/ti/wlcore/cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ int wl12xx_allocate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid)
/* take the last "freed packets" value from the current FW status */
wl->links[link].prev_freed_pkts =
wl->fw_status_2->counters.tx_lnk_free_pkts[link];
wl->links[link].wlvif = wlvif;
*hlid = link;
return 0;
}
Expand Down Expand Up @@ -353,6 +354,7 @@ void wl12xx_free_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 *hlid)
* can purge them.
*/
wl1271_tx_reset_link_queues(wl, *hlid);
wl->links[*hlid].wlvif = NULL;

*hlid = WL12XX_INVALID_LINK_ID;
}
Expand Down
5 changes: 5 additions & 0 deletions trunk/drivers/net/wireless/ti/wlcore/wlcore_i.h
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ enum wl12xx_vif_flags {
WLVIF_FLAG_IN_USE,
};

struct wl12xx_vif;

struct wl1271_link {
/* AP-mode - TX queue per AC in link */
struct sk_buff_head tx_queue[NUM_TX_QUEUES];
Expand All @@ -261,6 +263,9 @@ struct wl1271_link {

/* bitmap of TIDs where RX BA sessions are active for this link */
u8 ba_bitmap;

/* The wlvif this link belongs to. Might be null for global links */
struct wl12xx_vif *wlvif;
};

#define WL1271_MAX_RX_FILTERS 5
Expand Down

0 comments on commit 5a7c694

Please sign in to comment.