/drivers/net/wireless/wl1251/ |
H A D | boot.h | 27 int wl1251_boot_soft_reset(struct wl1251 *wl); 28 int wl1251_boot_init_seq(struct wl1251 *wl); 29 int wl1251_boot_run_firmware(struct wl1251 *wl); 30 void wl1251_boot_target_enable_interrupts(struct wl1251 *wl); 31 int wl1251_boot(struct wl1251 *wl);
|
H A D | debugfs.h | 27 int wl1251_debugfs_init(struct wl1251 *wl); 28 void wl1251_debugfs_exit(struct wl1251 *wl); 29 void wl1251_debugfs_reset(struct wl1251 *wl);
|
H A D | io.h | 37 static inline u32 wl1251_read32(struct wl1251 *wl, int addr) argument 39 wl->if_ops->read(wl, addr, &wl->buffer_32, sizeof(wl->buffer_32)); 41 return le32_to_cpu(wl->buffer_32); 44 static inline void wl1251_write32(struct wl1251 *wl, int addr, u32 val) argument 46 wl->buffer_32 = cpu_to_le32(val); 47 wl->if_ops->write(wl, add 50 wl1251_read_elp(struct wl1251 *wl, int addr) argument 62 wl1251_write_elp(struct wl1251 *wl, int addr, u32 val) argument [all...] |
H A D | event.c | 29 static int wl1251_event_scan_complete(struct wl1251 *wl, argument 36 if (wl->scanning) { 37 ieee80211_scan_completed(wl->hw, false); 39 wl->scanning = false; 52 static int wl1251_event_process(struct wl1251 *wl, struct event_mailbox *mbox) argument 63 ret = wl1251_event_scan_complete(wl, mbox); 71 if (wl->psm_requested && 72 wl->station_mode != STATION_ACTIVE_MODE) { 73 ret = wl1251_ps_set_mode(wl, STATION_ACTIVE_MODE); 80 wl 120 wl1251_event_wait(struct wl1251 *wl, u32 mask, int timeout_ms) argument 145 wl1251_event_unmask(struct wl1251 *wl) argument 156 wl1251_event_mbox_config(struct wl1251 *wl) argument 165 wl1251_event_handle(struct wl1251 *wl, u8 mbox_num) argument [all...] |
H A D | ps.c | 33 struct wl1251 *wl; local 36 wl = container_of(dwork, struct wl1251, elp_work); 40 mutex_lock(&wl->mutex); 42 if (wl->elp || wl->station_mode == STATION_ACTIVE_MODE) 46 wl1251_write_elp(wl, HW_ACCESS_ELP_CTRL_REG_ADDR, ELPCTRL_SLEEP); 47 wl->elp = true; 50 mutex_unlock(&wl->mutex); 56 void wl1251_ps_elp_sleep(struct wl1251 *wl) argument 60 if (wl 66 wl1251_ps_elp_wakeup(struct wl1251 *wl) argument 107 wl1251_ps_set_mode(struct wl1251 *wl, enum wl1251_station_mode mode) argument [all...] |
H A D | init.c | 32 int wl1251_hw_init_hwenc_config(struct wl1251 *wl) argument 36 ret = wl1251_acx_feature_cfg(wl); 42 ret = wl1251_acx_default_key(wl, wl->default_key); 51 int wl1251_hw_init_templates_config(struct wl1251 *wl) argument 57 ret = wl1251_cmd_template_set(wl, CMD_PROBE_REQ, NULL, 62 ret = wl1251_cmd_template_set(wl, CMD_NULL_DATA, NULL, 67 ret = wl1251_cmd_template_set(wl, CMD_PS_POLL, NULL, 72 ret = wl1251_cmd_template_set(wl, CMD_QOS_NULL_DATA, NULL, 78 ret = wl1251_cmd_template_set(wl, CMD_PROBE_RES 103 wl1251_hw_init_rx_config(struct wl1251 *wl, u32 config, u32 filter) argument 118 wl1251_hw_init_phy_config(struct wl1251 *wl) argument 145 wl1251_hw_init_beacon_filter(struct wl1251 *wl) argument 161 wl1251_hw_init_pta(struct wl1251 *wl) argument 176 wl1251_hw_init_energy_detection(struct wl1251 *wl) argument 187 wl1251_hw_init_beacon_broadcast(struct wl1251 *wl) argument 198 wl1251_hw_init_power_auth(struct wl1251 *wl) argument 203 wl1251_hw_init_mem_config(struct wl1251 *wl) argument 270 wl1251_hw_init_tx_queue_config(struct wl1251 *wl) argument 306 wl1251_hw_init_data_path_config(struct wl1251 *wl) argument 329 wl1251_hw_init(struct wl1251 *wl) argument [all...] |
H A D | ps.h | 29 int wl1251_ps_set_mode(struct wl1251 *wl, enum wl1251_station_mode mode); 30 void wl1251_ps_elp_sleep(struct wl1251 *wl); 31 int wl1251_ps_elp_wakeup(struct wl1251 *wl);
|
H A D | boot.c | 31 void wl1251_boot_target_enable_interrupts(struct wl1251 *wl) argument 33 wl1251_reg_write32(wl, ACX_REG_INTERRUPT_MASK, ~(wl->intr_mask)); 34 wl1251_reg_write32(wl, HI_CFG, HI_CFG_DEF_VAL); 37 int wl1251_boot_soft_reset(struct wl1251 *wl) argument 43 wl1251_reg_write32(wl, ACX_REG_SLV_SOFT_RESET, ACX_SLV_SOFT_RESET_BIT); 48 boot_data = wl1251_reg_read32(wl, ACX_REG_SLV_SOFT_RESET); 64 wl1251_reg_write32(wl, ENABLE, 0x0); 67 wl1251_reg_write32(wl, SPARE_A2, 0xffff); 72 int wl1251_boot_init_seq(struct wl1251 *wl) argument 210 wl1251_boot_set_ecpu_ctrl(struct wl1251 *wl, u32 flag) argument 222 wl1251_boot_run_firmware(struct wl1251 *wl) argument 316 wl1251_boot_upload_firmware(struct wl1251 *wl) argument 401 wl1251_boot_upload_nvs(struct wl1251 *wl) argument 480 wl1251_boot(struct wl1251 *wl) argument [all...] |
H A D | main.c | 45 void wl1251_enable_interrupts(struct wl1251 *wl) argument 47 wl->if_ops->enable_irq(wl); 50 void wl1251_disable_interrupts(struct wl1251 *wl) argument 52 wl->if_ops->disable_irq(wl); 55 static int wl1251_power_off(struct wl1251 *wl) argument 57 return wl->if_ops->power(wl, false); 60 static int wl1251_power_on(struct wl1251 *wl) argument 65 wl1251_fetch_firmware(struct wl1251 *wl) argument 104 wl1251_fetch_nvs(struct wl1251 *wl) argument 141 wl1251_fw_wakeup(struct wl1251 *wl) argument 153 wl1251_chip_wakeup(struct wl1251 *wl) argument 219 struct wl1251 *wl = local 325 wl1251_join(struct wl1251 *wl, u8 bss_type, u8 channel, u16 beacon_interval, u8 dtim_period) argument 353 struct wl1251 *wl = local 380 struct wl1251 *wl = hw->priv; local 408 struct wl1251 *wl = hw->priv; local 458 struct wl1251 *wl = hw->priv; local 515 struct wl1251 *wl = hw->priv; local 560 struct wl1251 *wl = hw->priv; local 568 wl1251_build_qos_null_data(struct wl1251 *wl) argument 591 struct wl1251 *wl = hw->priv; local 690 struct wl1251 *wl = hw->priv; local 736 wl1251_set_key_type(struct wl1251 *wl, struct wl1251_cmd_set_keys *key, enum set_key_cmd cmd, struct ieee80211_key_conf *mac80211_key, const u8 *addr) argument 780 struct wl1251 *wl = hw->priv; local 881 struct wl1251 *wl = hw->priv; local 943 struct wl1251 *wl = hw->priv; local 969 struct wl1251 *wl = hw->priv; local 1170 struct wl1251 *wl = hw->priv; local 1212 struct wl1251 *wl = hw->priv; local 1249 wl1251_read_eeprom_byte(struct wl1251 *wl, off_t offset, u8 *data) argument 1272 wl1251_read_eeprom(struct wl1251 *wl, off_t offset, u8 *data, size_t len) argument 1289 wl1251_read_eeprom_mac(struct wl1251 *wl) argument 1309 wl1251_register_hw(struct wl1251 *wl) argument 1331 wl1251_init_ieee80211(struct wl1251 *wl) argument 1374 struct wl1251 *wl; local 1447 wl1251_free_hw(struct wl1251 *wl) argument [all...] |
H A D | init.h | 74 int wl1251_hw_init_hwenc_config(struct wl1251 *wl); 75 int wl1251_hw_init_templates_config(struct wl1251 *wl); 76 int wl1251_hw_init_rx_config(struct wl1251 *wl, u32 config, u32 filter); 77 int wl1251_hw_init_phy_config(struct wl1251 *wl); 78 int wl1251_hw_init_beacon_filter(struct wl1251 *wl); 79 int wl1251_hw_init_pta(struct wl1251 *wl); 80 int wl1251_hw_init_energy_detection(struct wl1251 *wl); 81 int wl1251_hw_init_beacon_broadcast(struct wl1251 *wl); 82 int wl1251_hw_init_power_auth(struct wl1251 *wl); 83 int wl1251_hw_init_mem_config(struct wl1251 *wl); [all...] |
H A D | sdio.c | 47 static struct sdio_func *wl_to_func(struct wl1251 *wl) argument 49 struct wl1251_sdio *wl_sdio = wl->if_priv; 55 struct wl1251 *wl = sdio_get_drvdata(func); local 60 ieee80211_queue_work(wl->hw, &wl->irq_work); 70 static void wl1251_sdio_read(struct wl1251 *wl, int addr, argument 74 struct sdio_func *func = wl_to_func(wl); 83 static void wl1251_sdio_write(struct wl1251 *wl, int addr, argument 87 struct sdio_func *func = wl_to_func(wl); 96 static void wl1251_sdio_read_elp(struct wl1251 *wl, in argument 116 wl1251_sdio_write_elp(struct wl1251 *wl, int addr, u32 val) argument 132 wl1251_sdio_reset(struct wl1251 *wl) argument 136 wl1251_sdio_enable_irq(struct wl1251 *wl) argument 145 wl1251_sdio_disable_irq(struct wl1251 *wl) argument 157 struct wl1251 *wl = cookie; local 164 wl1251_enable_line_irq(struct wl1251 *wl) argument 169 wl1251_disable_line_irq(struct wl1251 *wl) argument 174 wl1251_sdio_set_power(struct wl1251 *wl, bool enable) argument 225 struct wl1251 *wl; local 310 struct wl1251 *wl = sdio_get_drvdata(func); local [all...] |
H A D | io.c | 41 static int wl1251_translate_reg_addr(struct wl1251 *wl, int addr) argument 55 return addr - wl->physical_reg_addr + wl->virtual_reg_addr; 58 static int wl1251_translate_mem_addr(struct wl1251 *wl, int addr) argument 60 return addr - wl->physical_mem_addr + wl->virtual_mem_addr; 63 void wl1251_mem_read(struct wl1251 *wl, int addr, void *buf, size_t len) argument 67 physical = wl1251_translate_mem_addr(wl, addr); 69 wl->if_ops->read(wl, physica 72 wl1251_mem_write(struct wl1251 *wl, int addr, void *buf, size_t len) argument 81 wl1251_mem_read32(struct wl1251 *wl, int addr) argument 86 wl1251_mem_write32(struct wl1251 *wl, int addr, u32 val) argument 91 wl1251_reg_read32(struct wl1251 *wl, int addr) argument 96 wl1251_reg_write32(struct wl1251 *wl, int addr, u32 val) argument 134 wl1251_set_partition(struct wl1251 *wl, u32 mem_start, u32 mem_size, u32 reg_start, u32 reg_size) argument [all...] |
H A D | spi.c | 36 struct wl1251 *wl; local 40 wl = cookie; 42 ieee80211_queue_work(wl->hw, &wl->irq_work); 47 static struct spi_device *wl_to_spi(struct wl1251 *wl) argument 49 return wl->if_priv; 52 static void wl1251_spi_reset(struct wl1251 *wl) argument 73 spi_sync(wl_to_spi(wl), &m); 78 static void wl1251_spi_wake(struct wl1251 *wl) argument 127 spi_sync(wl_to_spi(wl), 132 wl1251_spi_reset_wake(struct wl1251 *wl) argument 138 wl1251_spi_read(struct wl1251 *wl, int addr, void *buf, size_t len) argument 178 wl1251_spi_write(struct wl1251 *wl, int addr, void *buf, size_t len) argument 209 wl1251_spi_enable_irq(struct wl1251 *wl) argument 214 wl1251_spi_disable_irq(struct wl1251 *wl) argument 219 wl1251_spi_set_power(struct wl1251 *wl, bool enable) argument 240 struct wl1251 *wl; local 310 struct wl1251 *wl = dev_get_drvdata(&spi->dev); local [all...] |
/drivers/net/wireless/wl12xx/ |
H A D | init.h | 29 int wl1271_hw_init_power_auth(struct wl1271 *wl); 30 int wl1271_init_templates_config(struct wl1271 *wl); 31 int wl1271_init_pta(struct wl1271 *wl); 32 int wl1271_init_energy_detection(struct wl1271 *wl); 33 int wl1271_chip_specific_init(struct wl1271 *wl); 34 int wl1271_hw_init(struct wl1271 *wl); 35 int wl1271_init_vif_specific(struct wl1271 *wl, struct ieee80211_vif *vif); 36 int wl1271_init_ap_rates(struct wl1271 *wl, struct wl12xx_vif *wlvif); 37 int wl1271_ap_init_templates(struct wl1271 *wl, struct ieee80211_vif *vif);
|
H A D | debugfs.h | 29 int wl1271_debugfs_init(struct wl1271 *wl); 30 void wl1271_debugfs_exit(struct wl1271 *wl); 31 void wl1271_debugfs_reset(struct wl1271 *wl);
|
H A D | io.h | 50 void wl1271_disable_interrupts(struct wl1271 *wl); 51 void wl1271_enable_interrupts(struct wl1271 *wl); 53 void wl1271_io_reset(struct wl1271 *wl); 54 void wl1271_io_init(struct wl1271 *wl); 57 static inline void wl1271_raw_write(struct wl1271 *wl, int addr, void *buf, argument 60 wl->if_ops->write(wl->dev, addr, buf, len, fixed); 63 static inline void wl1271_raw_read(struct wl1271 *wl, int addr, void *buf, argument 66 wl->if_ops->read(wl 69 wl1271_raw_read32(struct wl1271 *wl, int addr) argument 77 wl1271_raw_write32(struct wl1271 *wl, int addr, u32 val) argument 85 wl1271_translate_addr(struct wl1271 *wl, int addr) argument 108 wl1271_read(struct wl1271 *wl, int addr, void *buf, size_t len, bool fixed) argument 118 wl1271_write(struct wl1271 *wl, int addr, void *buf, size_t len, bool fixed) argument 128 wl1271_read_hwaddr(struct wl1271 *wl, int hwaddr, void *buf, size_t len, bool fixed) argument 142 wl1271_read32(struct wl1271 *wl, int addr) argument 147 wl1271_write32(struct wl1271 *wl, int addr, u32 val) argument 152 wl1271_power_off(struct wl1271 *wl) argument 158 wl1271_power_on(struct wl1271 *wl) argument [all...] |
H A D | boot.c | 36 static void wl1271_boot_set_ecpu_ctrl(struct wl1271 *wl, u32 flag) argument 41 cpu_ctrl = wl1271_read32(wl, ACX_REG_ECPU_CONTROL); 45 wl1271_write32(wl, ACX_REG_ECPU_CONTROL, cpu_ctrl); 48 static unsigned int wl12xx_get_fw_ver_quirks(struct wl1271 *wl) argument 51 unsigned int *fw_ver = wl->chip.fw_ver; 65 static void wl1271_parse_fw_ver(struct wl1271 *wl) argument 69 ret = sscanf(wl->chip.fw_ver_str + 4, "%u.%u.%u.%u.%u", 70 &wl->chip.fw_ver[0], &wl->chip.fw_ver[1], 71 &wl 84 wl1271_boot_fw_version(struct wl1271 *wl) argument 100 wl1271_boot_upload_firmware_chunk(struct wl1271 *wl, void *buf, size_t fw_data_len, u32 dest) argument 167 wl1271_boot_upload_firmware(struct wl1271 *wl) argument 200 wl1271_boot_upload_nvs(struct wl1271 *wl) argument 345 wl1271_boot_enable_interrupts(struct wl1271 *wl) argument 353 wl1271_boot_soft_reset(struct wl1271 *wl) argument 388 wl1271_boot_run_firmware(struct wl1271 *wl) argument 477 wl1271_boot_write_irq_polarity(struct wl1271 *wl) argument 490 wl128x_switch_tcxo_to_fref(struct wl1271 *wl) argument 511 wl128x_is_tcxo_valid(struct wl1271 *wl) argument 522 wl128x_is_fref_valid(struct wl1271 *wl) argument 533 wl128x_manually_configure_mcs_pll(struct wl1271 *wl) argument 542 wl128x_configure_mcs_pll(struct wl1271 *wl, int clk) argument 580 wl128x_boot_clk(struct wl1271 *wl, int *selected_clock) argument 623 wl127x_boot_clk(struct wl1271 *wl) argument 677 wl1271_load_firmware(struct wl1271 *wl) argument 758 wl1271_boot(struct wl1271 *wl) argument [all...] |
H A D | ps.h | 30 int wl1271_ps_set_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif, 32 void wl1271_ps_elp_sleep(struct wl1271 *wl); 33 int wl1271_ps_elp_wakeup(struct wl1271 *wl); 35 void wl12xx_ps_link_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, 37 void wl12xx_ps_link_end(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid);
|
H A D | ps.c | 35 struct wl1271 *wl; local 39 wl = container_of(dwork, struct wl1271, elp_work); 43 mutex_lock(&wl->mutex); 45 if (unlikely(wl->state == WL1271_STATE_OFF)) 49 if (unlikely(!test_bit(WL1271_FLAG_ELP_REQUESTED, &wl->flags))) 52 if (test_bit(WL1271_FLAG_IN_ELP, &wl->flags)) 55 wl12xx_for_each_wlvif(wl, wlvif) { 65 wl1271_raw_write32(wl, HW_ACCESS_ELP_CTRL_REG_ADDR, ELPCTRL_SLEEP); 66 set_bit(WL1271_FLAG_IN_ELP, &wl->flags); 69 mutex_unlock(&wl 73 wl1271_ps_elp_sleep(struct wl1271 *wl) argument 94 wl1271_ps_elp_wakeup(struct wl1271 *wl) argument 160 wl1271_ps_set_mode(struct wl1271 *wl, struct wl12xx_vif *wlvif, enum wl1271_cmd_ps_mode mode) argument 217 wl1271_ps_filter_frames(struct wl1271 *wl, u8 hlid) argument 249 wl12xx_ps_link_start(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid, bool clean_queues) argument 281 wl12xx_ps_link_end(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) argument [all...] |
H A D | io.c | 107 bool wl1271_set_block_size(struct wl1271 *wl) argument 109 if (wl->if_ops->set_block_size) { 110 wl->if_ops->set_block_size(wl->dev, WL12XX_BUS_BLOCK_SIZE); 117 void wl1271_disable_interrupts(struct wl1271 *wl) argument 119 disable_irq(wl->irq); 122 void wl1271_enable_interrupts(struct wl1271 *wl) argument 124 enable_irq(wl->irq); 161 int wl1271_set_partition(struct wl1271 *wl, argument 165 memcpy(&wl 189 wl1271_io_reset(struct wl1271 *wl) argument 195 wl1271_io_init(struct wl1271 *wl) argument 201 wl1271_top_reg_write(struct wl1271 *wl, int addr, u16 val) argument 214 wl1271_top_reg_read(struct wl1271 *wl, int addr) argument [all...] |
H A D | main.c | 390 static void __wl1271_op_remove_interface(struct wl1271 *wl, 394 static void wl1271_free_ap_keys(struct wl1271 *wl, struct wl12xx_vif *wlvif); 396 static int wl12xx_set_authorized(struct wl1271 *wl, argument 410 ret = wl12xx_cmd_set_peer_state(wl, wlvif->sta.hlid); 414 wl12xx_croc(wl, wlvif->role_id); 442 static int wl1271_set_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif, argument 447 /* we should hold wl->mutex */ 448 ret = wl1271_acx_ps_rx_streaming(wl, wlvif, enable); 464 int wl1271_recalc_rx_streaming(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 467 int period = wl 493 struct wl1271 *wl = wlvif->wl; local 529 struct wl1271 *wl = wlvif->wl; local 553 struct wl1271 *wl = wlvif->wl; local 558 wl12xx_rearm_tx_watchdog_locked(struct wl1271 *wl) argument 572 struct wl1271 *wl; local 631 wl1271_conf_init(struct wl1271 *wl) argument 665 wl1271_plt_init(struct wl1271 *wl) argument 726 wl12xx_irq_ps_regulate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid, u8 tx_pkts) argument 751 wl12xx_irq_update_links_status(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct wl12xx_fw_status *status) argument 783 wl12xx_fw_status(struct wl1271 *wl, struct wl12xx_fw_status *status) argument 863 wl1271_flush_deferred_work(struct wl1271 *wl) argument 878 struct wl1271 *wl = local 893 struct wl1271 *wl = (struct wl1271 *)cookie; local 1040 wl12xx_fetch_firmware(struct wl1271 *wl, bool plt) argument 1112 wl1271_fetch_nvs(struct wl1271 *wl) argument 1141 wl12xx_queue_recovery_work(struct wl1271 *wl) argument 1147 wl12xx_copy_fwlog(struct wl1271 *wl, u8 *memblock, size_t maxlen) argument 1170 wl12xx_read_fwlog_panic(struct wl1271 *wl) argument 1226 struct wl1271 *wl = local 1291 wl1271_fw_wakeup(struct wl1271 *wl) argument 1299 wl1271_setup(struct wl1271 *wl) argument 1314 wl12xx_set_power_on(struct wl1271 *wl) argument 1335 wl12xx_chip_wakeup(struct wl1271 *wl, bool plt) argument 1405 wl1271_plt_start(struct wl1271 *wl) argument 1473 wl1271_plt_stop(struct wl1271 *wl) argument 1524 struct wl1271 *wl = hw->priv; local 1579 wl1271_tx_dummy_packet(struct wl1271 *wl) argument 1613 wl12xx_alloc_dummy_packet(struct wl1271 *wl) argument 1650 wl1271_configure_suspend_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 1680 wl1271_configure_suspend_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 1703 wl1271_configure_suspend(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 1713 wl1271_configure_resume(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 1749 struct wl1271 *wl = hw->priv; local 1790 struct wl1271 *wl = hw->priv; local 1844 struct wl1271 *wl = hw->priv; local 1935 wl12xx_allocate_rate_policy(struct wl1271 *wl, u8 *idx) argument 1947 wl12xx_free_rate_policy(struct wl1271 *wl, u8 *idx) argument 1956 wl12xx_get_role_type(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 1980 wl12xx_init_vif_data(struct wl1271 *wl, struct ieee80211_vif *vif) argument 2057 wl12xx_init_fw(struct wl1271 *wl) argument 2138 wl12xx_need_fw_change(struct wl1271 *wl, struct vif_counter_data vif_counter_data, bool add) argument 2170 wl12xx_force_active_psm(struct wl1271 *wl) argument 2182 struct wl1271 *wl = hw->priv; local 2290 __wl1271_op_remove_interface(struct wl1271 *wl, struct ieee80211_vif *vif, bool reset_tx_queues) argument 2391 struct wl1271 *wl = hw->priv; local 2432 struct wl1271 *wl = hw->priv; local 2446 wl1271_join(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool set_assoc) argument 2508 wl1271_unjoin(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 2532 wl1271_set_band_rate(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 2538 wl1271_sta_handle_idle(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool idle) argument 2582 wl12xx_config_vif(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_conf *conf, u32 changed) argument 2687 struct wl1271 *wl = hw->priv; local 2756 struct wl1271 *wl = hw->priv; local 2795 struct wl1271 *wl = hw->priv; local 2845 wl1271_record_ap_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 id, u8 key_type, u8 key_size, const u8 *key, u8 hlid, u32 tx_seq_32, u16 tx_seq_16) argument 2891 wl1271_free_ap_keys(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 2901 wl1271_ap_init_hwenc(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 2941 wl1271_set_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 action, u8 id, u8 key_type, u8 key_size, const u8 *key, u32 tx_seq_32, u16 tx_seq_16, struct ieee80211_sta *sta) argument 3042 struct wl1271 *wl = hw->priv; local 3158 struct wl1271 *wl = hw->priv; local 3205 struct wl1271 *wl = hw->priv; local 3253 struct wl1271 *wl = hw->priv; local 3290 struct wl1271 *wl = hw->priv; local 3313 struct wl1271 *wl = hw->priv; local 3341 struct wl1271 *wl = hw->priv; local 3424 wl1271_ap_set_probe_resp_tmpl(struct wl1271 *wl, u32 rates, struct ieee80211_vif *vif) argument 3445 wl1271_ap_set_probe_resp_tmpl_legacy(struct wl1271 *wl, struct ieee80211_vif *vif, u8 *probe_rsp_data, size_t probe_rsp_len, u32 rates) argument 3503 wl1271_bss_erp_info_changed(struct wl1271 *wl, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u32 changed) argument 3546 wl1271_bss_beacon_info_changed(struct wl1271 *wl, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u32 changed) argument 3650 wl1271_bss_info_changed_ap(struct wl1271 *wl, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u32 changed) argument 3729 wl1271_bss_info_changed_sta(struct wl1271 *wl, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf, u32 changed) argument 4076 struct wl1271 *wl = hw->priv; local 4111 struct wl1271 *wl = hw->priv; local 4161 struct wl1271 *wl = hw->priv; local 4192 struct wl1271 *wl = hw->priv; local 4205 wl1271_allocate_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta) argument 4231 wl1271_free_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) argument 4252 wl12xx_sta_add(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta) argument 4276 wl12xx_sta_remove(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta) argument 4298 wl12xx_update_sta_state(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct ieee80211_sta *sta, enum ieee80211_sta_state old_state, enum ieee80211_sta_state new_state) argument 4363 struct wl1271 *wl = hw->priv; local 4397 struct wl1271 *wl = hw->priv; local 4509 struct wl1271 *wl = hw->priv; local 4550 struct wl1271 *wl = hw->priv; local 4588 struct wl1271 *wl = hw->priv; local 4889 struct wl1271 *wl = dev_get_drvdata(dev); local 4907 struct wl1271 *wl = dev_get_drvdata(dev); local 4949 struct wl1271 *wl = dev_get_drvdata(dev); local 4972 struct wl1271 *wl = dev_get_drvdata(dev); local 5030 wl12xx_mac_in_fuse(struct wl1271 *wl) argument 5058 wl12xx_derive_mac_addresses(struct wl1271 *wl, u32 oui, u32 nic, int n) argument 5083 wl12xx_get_fuse_mac(struct wl1271 *wl) argument 5100 wl12xx_get_hw_info(struct wl1271 *wl) argument 5130 wl1271_register_hw(struct wl1271 *wl) argument 5183 wl1271_unregister_hw(struct wl1271 *wl) argument 5193 wl1271_init_ieee80211(struct wl1271 *wl) argument 5292 struct wl1271 *wl; local 5406 wl1271_free_hw(struct wl1271 *wl) argument 5443 struct wl1271 *wl = cookie; local 5474 struct wl1271 *wl; local 5568 struct wl1271 *wl = platform_get_drvdata(pdev); local [all...] |
H A D | init.c | 37 int wl1271_init_templates_config(struct wl1271 *wl) argument 43 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, 50 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, 57 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, 64 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, 71 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, 79 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, 86 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, 95 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_ID, 106 ret = wl1271_cmd_template_set(wl, WL12XX_INVALID_ROLE_I 140 wl1271_ap_init_deauth_template(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 166 wl1271_ap_init_null_template(struct wl1271 *wl, struct ieee80211_vif *vif) argument 199 wl1271_ap_init_qos_null_template(struct wl1271 *wl, struct ieee80211_vif *vif) argument 232 wl12xx_init_rx_config(struct wl1271 *wl) argument 243 wl12xx_init_phy_vif_config(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 263 wl1271_init_sta_beacon_filter(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 280 wl1271_init_pta(struct wl1271 *wl) argument 295 wl1271_init_energy_detection(struct wl1271 *wl) argument 306 wl1271_init_beacon_broadcast(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 318 wl12xx_init_fwlog(struct wl1271 *wl) argument 333 wl1271_sta_hw_init(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 354 wl1271_sta_hw_init_post_mem(struct wl1271 *wl, struct ieee80211_vif *vif) argument 377 wl1271_ap_hw_init(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 388 wl1271_ap_init_templates(struct wl1271 *wl, struct ieee80211_vif *vif) argument 416 wl1271_ap_hw_init_post_mem(struct wl1271 *wl, struct ieee80211_vif *vif) argument 422 wl1271_init_ap_rates(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 478 wl1271_set_ba_policies(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 497 wl1271_chip_specific_init(struct wl1271 *wl) argument 518 wl12xx_init_sta_role(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 550 wl12xx_init_ap_role(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 566 wl1271_init_vif_specific(struct wl1271 *wl, struct ieee80211_vif *vif) argument 658 wl1271_hw_init(struct wl1271 *wl) argument [all...] |
H A D | tx.c | 36 static int wl1271_set_default_wep_key(struct wl1271 *wl, argument 43 ret = wl12xx_cmd_set_default_wep_key(wl, id, 46 ret = wl12xx_cmd_set_default_wep_key(wl, id, wlvif->sta.hlid); 55 static int wl1271_alloc_tx_id(struct wl1271 *wl, struct sk_buff *skb) argument 59 id = find_first_zero_bit(wl->tx_frames_map, ACX_TX_DESCRIPTORS); 63 __set_bit(id, wl->tx_frames_map); 64 wl->tx_frames[id] = skb; 65 wl->tx_frames_cnt++; 69 static void wl1271_free_tx_id(struct wl1271 *wl, int id) argument 71 if (__test_and_clear_bit(id, wl 80 wl1271_tx_ap_update_inconnection_sta(struct wl1271 *wl, struct sk_buff *skb) argument 96 wl1271_tx_regulate_link(struct wl1271 *wl, struct wl12xx_vif *wlvif, u8 hlid) argument 120 wl12xx_is_dummy_packet(struct wl1271 *wl, struct sk_buff *skb) argument 125 wl12xx_tx_get_hlid_ap(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb) argument 150 wl12xx_tx_get_hlid(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb) argument 170 wl12xx_calc_packet_alignment(struct wl1271 *wl, unsigned int packet_length) argument 179 wl1271_tx_allocate(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, u32 extra, u32 buf_offset, u8 hlid) argument 253 wl1271_tx_fill_hdr(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, u32 extra, struct ieee80211_tx_info *control, u8 hlid) argument 373 wl1271_prepare_tx_frame(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb, u32 buf_offset) argument 447 wl1271_tx_enabled_rates_get(struct wl1271 *wl, u32 rate_set, enum ieee80211_band rate_band) argument 473 wl1271_handle_tx_low_watermark(struct wl1271 *wl) argument 491 wl1271_select_queue(struct wl1271 *wl, struct sk_buff_head *queues) argument 519 wl12xx_lnk_skb_dequeue(struct wl1271 *wl, struct wl1271_link *lnk) argument 542 wl12xx_vif_skb_dequeue(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 573 wl1271_skb_dequeue(struct wl1271 *wl) argument 627 wl1271_skb_queue_head(struct wl1271 *wl, struct wl12xx_vif *wlvif, struct sk_buff *skb) argument 656 wl12xx_rearm_rx_streaming(struct wl1271 *wl, unsigned long *active_hlids) argument 692 wl1271_tx_work_locked(struct wl1271 *wl) argument 776 struct wl1271 *wl = container_of(work, struct wl1271, tx_work); local 803 wl1271_tx_complete_packet(struct wl1271 *wl, struct wl1271_tx_hw_res_descr *result) argument 896 wl1271_tx_complete(struct wl1271 *wl) argument 933 wl1271_tx_reset_link_queues(struct wl1271 *wl, u8 hlid) argument 966 wl12xx_tx_reset_wlvif(struct wl1271 *wl, struct wl12xx_vif *wlvif) argument 984 wl12xx_tx_reset(struct wl1271 *wl, bool reset_tx_queues) argument 1044 wl1271_tx_flush(struct wl1271 *wl) argument 1073 wl1271_tx_min_rate_get(struct wl1271 *wl, u32 rate_set) argument [all...] |
/drivers/net/wireless/bcmdhd/ |
H A D | dhd_cfg80211.h | 34 s32 dhd_cfg80211_init(struct wl_priv *wl); 35 s32 dhd_cfg80211_deinit(struct wl_priv *wl); 36 s32 dhd_cfg80211_down(struct wl_priv *wl); 37 s32 dhd_cfg80211_set_p2p_info(struct wl_priv *wl, int val); 38 s32 dhd_cfg80211_clean_p2p_info(struct wl_priv *wl); 39 s32 dhd_config_dongle(struct wl_priv *wl, bool need_lock); 41 int wl_cfg80211_btcoex_init(struct wl_priv *wl); 42 void wl_cfg80211_btcoex_deinit(struct wl_priv *wl);
|
/drivers/net/wireless/brcm80211/brcmsmac/ |
H A D | mac80211_if.c | 270 struct brcms_info *wl = hw->priv; local 272 spin_lock_bh(&wl->lock); 273 if (!wl->pub->up) { 274 wiphy_err(wl->wiphy, "ops->tx called while down\n"); 278 brcms_c_sendpkt_mac80211(wl->wlc, skb, hw); 280 spin_unlock_bh(&wl->lock); 285 struct brcms_info *wl = hw->priv; local 290 spin_lock_bh(&wl->lock); 291 blocked = brcms_rfkill_set_hw_state(wl); 292 spin_unlock_bh(&wl 314 struct brcms_info *wl = hw->priv; local 341 struct brcms_info *wl = hw->priv; local 364 struct brcms_info *wl = hw->priv; local 419 struct brcms_info *wl = hw->priv; local 547 struct brcms_info *wl = hw->priv; local 576 struct brcms_info *wl = hw->priv; local 585 struct brcms_info *wl = hw->priv; local 596 struct brcms_info *wl = hw->priv; local 609 struct brcms_info *wl = hw->priv; local 632 struct brcms_info *wl = hw->priv; local 685 struct brcms_info *wl = hw->priv; local 697 struct brcms_info *wl = hw->priv; local 728 brcms_set_hint(struct brcms_info *wl, char *abbrev) argument 735 struct brcms_info *wl; local 773 brcms_request_fw(struct brcms_info *wl, struct pci_dev *pdev) argument 811 brcms_release_fw(struct brcms_info *wl) argument 829 brcms_free(struct brcms_info *wl) argument 875 struct brcms_info *wl = hw->priv; local 891 struct brcms_info *wl; local 920 struct brcms_info *wl = hw->priv; local 997 struct brcms_info *wl = NULL; local 1100 struct brcms_info *wl; local 1133 struct brcms_info *wl; local 1218 brcms_txflowcontrol(struct brcms_info *wl, struct brcms_if *wlif, bool state, int prio) argument 1227 brcms_init(struct brcms_info *wl) argument 1237 brcms_reset(struct brcms_info *wl) argument 1248 brcms_fatal_error(struct brcms_info *wl) argument 1260 brcms_intrson(struct brcms_info *wl) argument 1269 brcms_intrsoff(struct brcms_info *wl) argument 1280 brcms_intrsrestore(struct brcms_info *wl, u32 macintmask) argument 1292 brcms_up(struct brcms_info *wl) argument 1307 brcms_down(struct brcms_info *wl) argument 1360 brcms_init_timer(struct brcms_info *wl, void (*fn) (void *arg), void *arg, const char *name) argument 1433 struct brcms_info *wl = t->wl; local 1467 brcms_ucode_init_buf(struct brcms_info *wl, void **pbuf, u32 idx) argument 1499 brcms_ucode_init_uint(struct brcms_info *wl, size_t *n_bytes, u32 idx) argument 1539 brcms_check_firmwares(struct brcms_info *wl) argument 1592 brcms_rfkill_set_hw_state(struct brcms_info *wl) argument 1607 brcms_msleep(struct brcms_info *wl, uint ms) argument [all...] |