Lines Matching defs:wlc
358 static u8 brcms_basic_rate(struct brcms_c_info *wlc, u32 rspec) in brcms_basic_rate()
389 static bool brcms_deviceremoved(struct brcms_c_info *wlc) in brcms_deviceremoved()
401 static int brcms_txpktpendtot(struct brcms_c_info *wlc) in brcms_txpktpendtot()
412 static bool brcms_is_mband_unlocked(struct brcms_c_info *wlc) in brcms_is_mband_unlocked()
436 static void brcms_c_detach_mfree(struct brcms_c_info *wlc) in brcms_c_detach_mfree()
484 struct brcms_c_info *wlc; in brcms_c_attach_malloc() local
615 static uint brcms_c_calc_frame_time(struct brcms_c_info *wlc, u32 ratespec, in brcms_c_calc_frame_time()
808 static u32 brcms_c_setband_inact(struct brcms_c_info *wlc, uint bandunit) in brcms_c_setband_inact()
834 brcms_c_dotxstatus(struct brcms_c_info *wlc, struct tx_status *txs) in brcms_c_dotxstatus()
1066 static void brcms_c_tbtt(struct brcms_c_info *wlc) in brcms_c_tbtt()
1078 brcms_c_mhfdef(struct brcms_c_info *wlc, u16 *mhfs, u16 mhf2_init) in brcms_c_mhfdef()
1104 static bool brcms_b_attach_dmapio(struct brcms_c_info *wlc, uint j, bool wme) in brcms_b_attach_dmapio()
1206 struct brcms_c_info *wlc = wlc_hw->wlc; in brcms_b_info_init() local
1596 struct brcms_c_info *wlc = wlc_hw->wlc; in brcms_b_upd_synthpu() local
1695 static void brcms_b_bsinit(struct brcms_c_info *wlc, u16 chanspec) in brcms_b_bsinit()
1814 struct brcms_c_info *wlc = wlc_hw->wlc; in brcms_b_setband() local
2159 void brcms_c_start_station(struct brcms_c_info *wlc, u8 *addr) in brcms_c_start_station()
2165 void brcms_c_start_ap(struct brcms_c_info *wlc, u8 *addr, const u8 *bssid, in brcms_c_start_ap()
2177 void brcms_c_start_adhoc(struct brcms_c_info *wlc, u8 *addr) in brcms_c_start_adhoc()
2186 static void brcms_c_gpio_init(struct brcms_c_info *wlc) in brcms_c_gpio_init()
2386 void brcms_c_intrson(struct brcms_c_info *wlc) in brcms_c_intrson()
2393 u32 brcms_c_intrsoff(struct brcms_c_info *wlc) in brcms_c_intrsoff()
2412 void brcms_c_intrsrestore(struct brcms_c_info *wlc, u32 macintmask) in brcms_c_intrsrestore()
2514 brcms_c_mute(struct brcms_c_info *wlc, bool mute_tx) in brcms_c_mute()
2527 static inline u32 wlc_intstatus(struct brcms_c_info *wlc, bool in_isr) in wlc_intstatus()
2579 bool brcms_c_intrsupd(struct brcms_c_info *wlc) in brcms_c_intrsupd()
2602 bool brcms_c_isr(struct brcms_c_info *wlc) in brcms_c_isr()
2630 void brcms_c_suspend_mac_and_wait(struct brcms_c_info *wlc) in brcms_c_suspend_mac_and_wait()
2698 void brcms_c_enable_mac(struct brcms_c_info *wlc) in brcms_c_enable_mac()
2884 static void brcms_c_flushqueues(struct brcms_c_info *wlc) in brcms_c_flushqueues()
3001 static void brcms_c_copyto_shm(struct brcms_c_info *wlc, uint offset, in brcms_c_copyto_shm()
3060 static bool brcms_c_ps_allowed(struct brcms_c_info *wlc) in brcms_c_ps_allowed()
3066 static void brcms_c_statsupd(struct brcms_c_info *wlc) in brcms_c_statsupd()
3129 void brcms_c_reset(struct brcms_c_info *wlc) in brcms_c_reset()
3165 static void brcms_b_coreinit(struct brcms_c_info *wlc) in brcms_b_coreinit()
3341 struct brcms_c_info *wlc = wlc_hw->wlc; in brcms_b_init() local
3383 static void brcms_c_set_phy_chanspec(struct brcms_c_info *wlc, in brcms_c_set_phy_chanspec()
3400 brcms_default_rateset(struct brcms_c_info *wlc, struct brcms_c_rateset *rs) in brcms_default_rateset()
3410 static void brcms_c_rate_lookup_init(struct brcms_c_info *wlc, in brcms_c_rate_lookup_init()
3504 static void brcms_c_bandinit_ordered(struct brcms_c_info *wlc, in brcms_c_bandinit_ordered()
3553 void brcms_c_mac_promisc(struct brcms_c_info *wlc, uint filter_flags) in brcms_c_mac_promisc()
3581 static void brcms_c_ucode_mac_upd(struct brcms_c_info *wlc) in brcms_c_ucode_mac_upd()
3606 static void brcms_c_write_rate_shm(struct brcms_c_info *wlc, u8 rate, in brcms_c_write_rate_shm()
3641 brcms_c_rateset_get_hwrs(struct brcms_c_info *wlc) in brcms_c_rateset_get_hwrs()
3658 static void brcms_c_set_ratetable(struct brcms_c_info *wlc) in brcms_c_set_ratetable()
3689 static void brcms_c_bsinit(struct brcms_c_info *wlc) in brcms_c_bsinit()
3707 brcms_c_duty_cycle_set(struct brcms_c_info *wlc, int duty_cycle, bool isOFDM, in brcms_c_duty_cycle_set()
3735 static void brcms_c_set_ps_ctrl(struct brcms_c_info *wlc) in brcms_c_set_ps_ctrl()
3765 struct brcms_c_info *wlc = bsscfg->wlc; in brcms_c_set_mac() local
3782 void brcms_c_set_ssid(struct brcms_c_info *wlc, u8 *ssid, size_t ssid_len) in brcms_c_set_ssid()
3806 static void brcms_c_switch_shortslot(struct brcms_c_info *wlc, bool shortslot) in brcms_c_switch_shortslot()
3820 static void brcms_c_set_home_chanspec(struct brcms_c_info *wlc, u16 chanspec) in brcms_c_set_home_chanspec()
3876 static void brcms_c_setband(struct brcms_c_info *wlc, in brcms_c_setband()
3891 static void brcms_c_set_chanspec(struct brcms_c_info *wlc, u16 chanspec) in brcms_c_set_chanspec()
3949 void brcms_c_beacon_phytxctl_txant_upd(struct brcms_c_info *wlc, in brcms_c_beacon_phytxctl_txant_upd()
3970 void brcms_c_protection_upd(struct brcms_c_info *wlc, uint idx, int val) in brcms_c_protection_upd()
4019 static void brcms_c_ht_update_sgi_rx(struct brcms_c_info *wlc, int val) in brcms_c_ht_update_sgi_rx()
4027 static void brcms_c_ht_update_ldpc(struct brcms_c_info *wlc, s8 val) in brcms_c_ht_update_ldpc()
4038 void brcms_c_wme_setparams(struct brcms_c_info *wlc, u16 aci, in brcms_c_wme_setparams()
4103 static void brcms_c_edcf_setparams(struct brcms_c_info *wlc, bool suspend) in brcms_c_edcf_setparams()
4138 static void brcms_c_radio_monitor_start(struct brcms_c_info *wlc) in brcms_c_radio_monitor_start()
4149 static bool brcms_c_radio_monitor_stop(struct brcms_c_info *wlc) in brcms_c_radio_monitor_stop()
4160 static void brcms_c_radio_hwdisable_upd(struct brcms_c_info *wlc) in brcms_c_radio_hwdisable_upd()
4172 bool brcms_c_check_radio_disabled(struct brcms_c_info *wlc) in brcms_c_check_radio_disabled()
4183 struct brcms_c_info *wlc = (struct brcms_c_info *) arg; in brcms_c_radio_timer() local
4196 static void brcms_b_watchdog(struct brcms_c_info *wlc) in brcms_b_watchdog()
4216 static void brcms_c_watchdog(struct brcms_c_info *wlc) in brcms_c_watchdog()
4257 struct brcms_c_info *wlc = (struct brcms_c_info *) arg; in brcms_c_watchdog_by_timer() local
4262 static bool brcms_c_timers_init(struct brcms_c_info *wlc, int unit) in brcms_c_timers_init()
4290 static void brcms_c_info_init(struct brcms_c_info *wlc, int unit) in brcms_c_info_init()
4340 static uint brcms_c_attach_module(struct brcms_c_info *wlc) in brcms_c_attach_module()
4372 struct brcms_pub *brcms_c_pub(struct brcms_c_info *wlc) in brcms_c_pub()
4383 static int brcms_b_attach(struct brcms_c_info *wlc, struct bcma_device *core, in brcms_b_attach()
4689 static bool brcms_c_attach_stf_ant_init(struct brcms_c_info *wlc) in brcms_c_attach_stf_ant_init()
4730 static void brcms_c_bss_default_init(struct brcms_c_info *wlc) in brcms_c_bss_default_init()
4762 static void brcms_c_update_mimo_band_bwcap(struct brcms_c_info *wlc, u8 bwcap) in brcms_c_update_mimo_band_bwcap()
4784 static void brcms_c_timers_deinit(struct brcms_c_info *wlc) in brcms_c_timers_deinit()
4797 static void brcms_c_detach_module(struct brcms_c_info *wlc) in brcms_c_detach_module()
4815 static void brcms_b_detach(struct brcms_c_info *wlc) in brcms_b_detach()
4854 uint brcms_c_detach(struct brcms_c_info *wlc) in brcms_c_detach()
4879 static void brcms_c_ap_upd(struct brcms_c_info *wlc) in brcms_c_ap_upd()
4980 static void brcms_c_wme_retries_write(struct brcms_c_info *wlc) in brcms_c_wme_retries_write()
4994 int brcms_c_up(struct brcms_c_info *wlc) in brcms_c_up()
5160 uint brcms_c_down(struct brcms_c_info *wlc) in brcms_c_down()
5212 int brcms_c_set_gmode(struct brcms_c_info *wlc, u8 gmode, bool config) in brcms_c_set_gmode()
5300 int brcms_c_set_nmode(struct brcms_c_info *wlc) in brcms_c_set_nmode()
5328 brcms_c_set_internal_rateset(struct brcms_c_info *wlc, in brcms_c_set_internal_rateset()
5371 static void brcms_c_ofdm_rateset_war(struct brcms_c_info *wlc) in brcms_c_ofdm_rateset_war()
5376 int brcms_c_set_channel(struct brcms_c_info *wlc, u16 channel) in brcms_c_set_channel()
5406 int brcms_c_set_rate_limit(struct brcms_c_info *wlc, u16 srl, u16 lrl) in brcms_c_set_rate_limit()
5430 void brcms_c_get_current_rateset(struct brcms_c_info *wlc, in brcms_c_get_current_rateset()
5445 int brcms_c_set_rateset(struct brcms_c_info *wlc, struct brcm_rateset *rs) in brcms_c_set_rateset()
5477 static void brcms_c_time_lock(struct brcms_c_info *wlc) in brcms_c_time_lock()
5484 static void brcms_c_time_unlock(struct brcms_c_info *wlc) in brcms_c_time_unlock()
5491 int brcms_c_set_beacon_period(struct brcms_c_info *wlc, u16 period) in brcms_c_set_beacon_period()
5510 u16 brcms_c_get_phy_type(struct brcms_c_info *wlc, int phyidx) in brcms_c_get_phy_type()
5515 void brcms_c_set_shortslot_override(struct brcms_c_info *wlc, s8 sslot_override) in brcms_c_set_shortslot_override()
5550 struct brcms_c_info *wlc = (struct brcms_c_info *) pub->wlc; in brcms_c_module_register() local
5571 struct brcms_c_info *wlc = (struct brcms_c_info *) pub->wlc; in brcms_c_module_unregister() local
5666 bcmc_fid_generate(struct brcms_c_info *wlc, struct brcms_bss_cfg *bsscfg, in bcmc_fid_generate()
5682 brcms_c_calc_ack_time(struct brcms_c_info *wlc, u32 rspec, in brcms_c_calc_ack_time()
5701 brcms_c_calc_cts_time(struct brcms_c_info *wlc, u32 rspec, in brcms_c_calc_cts_time()
5708 brcms_c_calc_ba_time(struct brcms_c_info *wlc, u32 rspec, in brcms_c_calc_ba_time()
5734 brcms_c_compute_frame_dur(struct brcms_c_info *wlc, u32 rate, in brcms_c_compute_frame_dur()
5758 brcms_c_calc_frame_len(struct brcms_c_info *wlc, u32 ratespec, in brcms_c_calc_frame_len()
5803 static bool brcms_c_valid_rate(struct brcms_c_info *wlc, u32 rspec, int band, in brcms_c_valid_rate()
5837 mac80211_wlc_set_nrate(struct brcms_c_info *wlc, struct brcms_band *cur_band, in mac80211_wlc_set_nrate()
5952 static void brcms_c_cck_plcp_set(struct brcms_c_info *wlc, int rate_500, in brcms_c_cck_plcp_set()
6036 static void brcms_c_compute_cck_plcp(struct brcms_c_info *wlc, u32 rspec, in brcms_c_compute_cck_plcp()
6045 brcms_c_compute_plcp(struct brcms_c_info *wlc, u32 rspec, in brcms_c_compute_plcp()
6068 brcms_c_compute_rtscts_dur(struct brcms_c_info *wlc, bool cts_only, in brcms_c_compute_rtscts_dur()
6102 static u16 brcms_c_phytxctl1_calc(struct brcms_c_info *wlc, u32 rspec) in brcms_c_phytxctl1_calc()
6162 brcms_c_d11hdrs_mac80211(struct brcms_c_info *wlc, struct ieee80211_hw *hw, in brcms_c_d11hdrs_mac80211()
6799 static int brcms_c_tx(struct brcms_c_info *wlc, struct sk_buff *skb) in brcms_c_tx()
6853 bool brcms_c_sendpkt_mac80211(struct brcms_c_info *wlc, struct sk_buff *sdu, in brcms_c_sendpkt_mac80211()
6870 brcms_c_txfifo(struct brcms_c_info *wlc, uint fifo, struct sk_buff *p) in brcms_c_txfifo()
6894 brcms_c_rspec_to_rts_rspec(struct brcms_c_info *wlc, u32 rspec, in brcms_c_rspec_to_rts_rspec()
6941 static void brcms_c_bcn_li_upd(struct brcms_c_info *wlc) in brcms_c_bcn_li_upd()
6976 static u64 brcms_c_recover_tsf64(struct brcms_c_info *wlc, in brcms_c_recover_tsf64()
7001 prep_mac80211_status(struct brcms_c_info *wlc, struct d11rxhdr *rxh, in prep_mac80211_status()
7114 brcms_c_recvctl(struct brcms_c_info *wlc, struct d11rxhdr *rxh, in brcms_c_recvctl()
7147 brcms_c_calc_lsig_len(struct brcms_c_info *wlc, u32 ratespec, in brcms_c_calc_lsig_len()
7189 brcms_c_mod_prb_rsp_rate_table(struct brcms_c_info *wlc, uint frame_len) in brcms_c_mod_prb_rsp_rate_table()
7240 static void brcms_c_beacon_write(struct brcms_c_info *wlc, in brcms_c_beacon_write()
7290 static void brcms_c_update_beacon_hw(struct brcms_c_info *wlc, in brcms_c_update_beacon_hw()
7342 void brcms_c_update_beacon(struct brcms_c_info *wlc) in brcms_c_update_beacon()
7358 void brcms_c_set_new_beacon(struct brcms_c_info *wlc, struct sk_buff *beacon, in brcms_c_set_new_beacon()
7374 void brcms_c_set_new_probe_resp(struct brcms_c_info *wlc, in brcms_c_set_new_probe_resp()
7388 void brcms_c_enable_probe_resp(struct brcms_c_info *wlc, bool enable) in brcms_c_enable_probe_resp()
7401 brcms_c_shm_ssid_upd(struct brcms_c_info *wlc, struct brcms_bss_cfg *cfg) in brcms_c_shm_ssid_upd()
7416 brcms_c_bss_update_probe_resp(struct brcms_c_info *wlc, in brcms_c_bss_update_probe_resp()
7451 void brcms_c_update_probe_resp(struct brcms_c_info *wlc, bool suspend) in brcms_c_update_probe_resp()
7477 brcms_c_set_addrmatch(struct brcms_c_info *wlc, int match_reg_offset, in brcms_c_set_addrmatch()
7488 void brcms_c_scan_start(struct brcms_c_info *wlc) in brcms_c_scan_start()
7493 void brcms_c_scan_stop(struct brcms_c_info *wlc) in brcms_c_scan_stop()
7498 void brcms_c_associate_upd(struct brcms_c_info *wlc, bool state) in brcms_c_associate_upd()
7521 int brcms_c_get_curband(struct brcms_c_info *wlc) in brcms_c_get_curband()
7526 bool brcms_c_tx_flush_completed(struct brcms_c_info *wlc) in brcms_c_tx_flush_completed()
7538 void brcms_c_set_beacon_listen_interval(struct brcms_c_info *wlc, u8 interval) in brcms_c_set_beacon_listen_interval()
7545 u64 brcms_c_tsf_get(struct brcms_c_info *wlc) in brcms_c_tsf_get()
7559 void brcms_c_tsf_set(struct brcms_c_info *wlc, u64 tsf) in brcms_c_tsf_set()
7575 int brcms_c_set_tx_power(struct brcms_c_info *wlc, int txpwr) in brcms_c_set_tx_power()
7584 int brcms_c_get_tx_power(struct brcms_c_info *wlc) in brcms_c_get_tx_power()
7600 static void brcms_c_recv(struct brcms_c_info *wlc, struct sk_buff *p) in brcms_c_recv()
7711 bool brcms_c_dpc(struct brcms_c_info *wlc, bool bounded) in brcms_c_dpc()
7798 void brcms_c_init(struct brcms_c_info *wlc, bool mute_tx) in brcms_c_init()
7904 struct brcms_c_info *wlc; in brcms_c_attach() local