/linux-2.6.39/drivers/net/wireless/wl12xx/ |
D | ps.c | 177 static void wl1271_ps_filter_frames(struct wl1271 *wl, u8 hlid) in wl1271_ps_filter_frames() argument 186 while ((skb = skb_dequeue(&wl->links[hlid].tx_queue[i]))) { in wl1271_ps_filter_frames() 202 void wl1271_ps_link_start(struct wl1271 *wl, u8 hlid, bool clean_queues) in wl1271_ps_link_start() argument 206 if (test_bit(hlid, &wl->ap_ps_map)) in wl1271_ps_link_start() 210 "clean_queues %d", hlid, wl->links[hlid].allocated_blks, in wl1271_ps_link_start() 214 sta = ieee80211_find_sta(wl->vif, wl->links[hlid].addr); in wl1271_ps_link_start() 217 wl->links[hlid].addr); in wl1271_ps_link_start() 227 wl1271_ps_filter_frames(wl, hlid); in wl1271_ps_link_start() 229 __set_bit(hlid, &wl->ap_ps_map); in wl1271_ps_link_start() 232 void wl1271_ps_link_end(struct wl1271 *wl, u8 hlid) in wl1271_ps_link_end() argument [all …]
|
D | tx.c | 89 static void wl1271_tx_regulate_link(struct wl1271 *wl, u8 hlid) in wl1271_tx_regulate_link() argument 95 if (hlid < WL1271_AP_STA_HLID_START) in wl1271_tx_regulate_link() 98 fw_ps = test_bit(hlid, (unsigned long *)&wl->ap_fw_ps_map); in wl1271_tx_regulate_link() 99 tx_blks = wl->links[hlid].allocated_blks; in wl1271_tx_regulate_link() 106 wl1271_ps_link_start(wl, hlid, true); in wl1271_tx_regulate_link() 118 return wl_sta->hlid; in wl1271_tx_get_hlid() 131 u32 buf_offset, u8 hlid) in wl1271_tx_allocate() argument 161 wl->links[hlid].allocated_blks += total_blocks; in wl1271_tx_allocate() 177 u8 hlid) in wl1271_tx_fill_hdr() argument 213 desc->aid = hlid; in wl1271_tx_fill_hdr() [all …]
|
D | main.c | 540 static void wl1271_irq_ps_regulate_link(struct wl1271 *wl, u8 hlid, u8 tx_blks) in wl1271_irq_ps_regulate_link() argument 545 if (hlid < WL1271_AP_STA_HLID_START) in wl1271_irq_ps_regulate_link() 548 fw_ps = test_bit(hlid, (unsigned long *)&wl->ap_fw_ps_map); in wl1271_irq_ps_regulate_link() 555 wl1271_ps_link_end(wl, hlid); in wl1271_irq_ps_regulate_link() 559 wl1271_ps_link_start(wl, hlid, true); in wl1271_irq_ps_regulate_link() 566 u8 hlid; in wl1271_irq_update_links_status() local 578 for (hlid = WL1271_AP_STA_HLID_START; hlid < AP_MAX_LINKS; hlid++) { in wl1271_irq_update_links_status() 579 u8 cnt = status->tx_lnk_free_blks[hlid] - in wl1271_irq_update_links_status() 580 wl->links[hlid].prev_freed_blks; in wl1271_irq_update_links_status() 582 wl->links[hlid].prev_freed_blks = in wl1271_irq_update_links_status() [all …]
|
D | ps.h | 35 void wl1271_ps_link_start(struct wl1271 *wl, u8 hlid, bool clean_queues); 36 void wl1271_ps_link_end(struct wl1271 *wl, u8 hlid);
|
D | cmd.h | 63 u8 key_size, const u8 *key, u8 hlid, u32 tx_seq_32, 69 int wl1271_cmd_add_sta(struct wl1271 *wl, struct ieee80211_sta *sta, u8 hlid); 70 int wl1271_cmd_remove_sta(struct wl1271 *wl, u8 hlid); 350 u8 hlid; member 525 u8 hlid; member 538 u8 hlid; member
|
D | cmd.c | 763 cmd->hlid = WL1271_AP_BROADCAST_HLID; in wl1271_cmd_set_ap_default_wep_key() 839 u8 key_size, const u8 *key, u8 hlid, u32 tx_seq_32, in wl1271_cmd_set_ap_key() argument 850 if (hlid == WL1271_AP_BROADCAST_HLID) { in wl1271_cmd_set_ap_key() 861 (int)key_type, (int)hlid); in wl1271_cmd_set_ap_key() 864 cmd->hlid = hlid; in wl1271_cmd_set_ap_key() 1055 int wl1271_cmd_add_sta(struct wl1271 *wl, struct ieee80211_sta *sta, u8 hlid) in wl1271_cmd_add_sta() argument 1060 wl1271_debug(DEBUG_CMD, "cmd add sta %d", (int)hlid); in wl1271_cmd_add_sta() 1074 cmd->hlid = hlid; in wl1271_cmd_add_sta() 1102 int wl1271_cmd_remove_sta(struct wl1271 *wl, u8 hlid) in wl1271_cmd_remove_sta() argument 1107 wl1271_debug(DEBUG_CMD, "cmd remove sta %d", (int)hlid); in wl1271_cmd_remove_sta() [all …]
|
D | tx.h | 83 u8 hlid; member 154 void wl1271_tx_reset_link_queues(struct wl1271 *wl, u8 hlid);
|
D | rx.h | 112 u8 hlid; /* AP FW */ member
|
D | wl12xx.h | 310 u8 hlid; member 550 u8 hlid; member
|