Home
last modified time | relevance | path

Searched refs:wlc (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dstf.c31 #define BRCMS_STF_SS_STBC_RX(wlc) (BRCMS_ISNPHY(wlc->band) && \ argument
32 NREV_GT(wlc->band->phyrev, 3) && NREV_LE(wlc->band->phyrev, 6))
47 static void brcms_c_stf_stbc_rx_ht_update(struct brcms_c_info *wlc, int val) in brcms_c_stf_stbc_rx_ht_update() argument
50 if (BRCMS_STF_SS_STBC_RX(wlc)) { in brcms_c_stf_stbc_rx_ht_update()
51 if ((wlc->stf->rxstreams == 1) && (val != HT_CAP_RX_STBC_NO)) in brcms_c_stf_stbc_rx_ht_update()
55 if (wlc->pub->up) { in brcms_c_stf_stbc_rx_ht_update()
56 brcms_c_update_beacon(wlc); in brcms_c_stf_stbc_rx_ht_update()
57 brcms_c_update_probe_resp(wlc, true); in brcms_c_stf_stbc_rx_ht_update()
65 void brcms_c_tempsense_upd(struct brcms_c_info *wlc) in brcms_c_tempsense_upd() argument
67 struct brcms_phy_pub *pi = wlc->band->pi; in brcms_c_tempsense_upd()
[all …]
H A Dpub.h145 struct brcms_c_info *wlc; member
272 uint brcms_c_detach(struct brcms_c_info *wlc);
273 int brcms_c_up(struct brcms_c_info *wlc);
274 uint brcms_c_down(struct brcms_c_info *wlc);
277 void brcms_c_init(struct brcms_c_info *wlc, bool mute_tx);
278 void brcms_c_reset(struct brcms_c_info *wlc);
280 void brcms_c_intrson(struct brcms_c_info *wlc);
281 u32 brcms_c_intrsoff(struct brcms_c_info *wlc);
282 void brcms_c_intrsrestore(struct brcms_c_info *wlc, u32 macintmask);
283 bool brcms_c_intrsupd(struct brcms_c_info *wlc);
[all …]
H A Dstf.h22 int brcms_c_stf_attach(struct brcms_c_info *wlc);
23 void brcms_c_stf_detach(struct brcms_c_info *wlc);
25 void brcms_c_tempsense_upd(struct brcms_c_info *wlc);
26 void brcms_c_stf_ss_algo_channel_get(struct brcms_c_info *wlc,
28 void brcms_c_stf_ss_update(struct brcms_c_info *wlc, struct brcms_band *band);
29 void brcms_c_stf_phy_txant_upd(struct brcms_c_info *wlc);
30 int brcms_c_stf_txchain_set(struct brcms_c_info *wlc, s32 int_val, bool force);
31 bool brcms_c_stf_stbc_rx_set(struct brcms_c_info *wlc, s32 int_val);
32 void brcms_c_stf_phy_chain_calc(struct brcms_c_info *wlc);
33 u16 brcms_c_stf_phytxchain_sel(struct brcms_c_info *wlc, u32 rspec);
[all …]
H A Dmac80211_if.c305 if (wl->wlc) { in brcms_free()
306 brcms_c_detach(wl->wlc); in brcms_free()
307 wl->wlc = NULL; in brcms_free()
336 if (wl->wlc) { in brcms_remove()
411 brcms_err(wl->wlc->hw->d11core, "ops->tx called while down\n"); in brcms_ops_tx()
415 if (brcms_c_sendpkt_mac80211(wl->wlc, skb, hw)) in brcms_ops_tx()
428 err = brcms_request_fw(wl, wl->wlc->hw->d11core); in brcms_ops_start()
454 brcms_err(wl->wlc->hw->d11core, "%s: brcms_up() returned %d\n", in brcms_ops_start()
457 bcma_core_pci_power_save(wl->wlc->hw->d11core->bus, true); in brcms_ops_start()
468 if (wl->wlc == NULL) in brcms_ops_stop()
[all …]
H A Dantsel.c109 struct antsel_info *brcms_c_antsel_attach(struct brcms_c_info *wlc) in brcms_c_antsel_attach() argument
112 struct ssb_sprom *sprom = &wlc->hw->d11core->bus->sprom; in brcms_c_antsel_attach()
118 asi->wlc = wlc; in brcms_c_antsel_attach()
119 asi->pub = wlc->pub; in brcms_c_antsel_attach()
141 brcms_err(wlc->hw->d11core, in brcms_c_antsel_attach()
162 brcms_b_antsel_type_set(wlc->hw, asi->antsel_type); in brcms_c_antsel_attach()
203 struct brcms_c_info *wlc = asi->wlc; in brcms_c_antsel_cfgupd() local
212 brcms_b_write_shm(wlc->hw, M_MIMO_ANTSEL_TXDFLT, mimo_antsel); in brcms_c_antsel_cfgupd()
224 brcms_b_write_shm(wlc->hw, M_MIMO_ANTSEL_RXDFLT, mimo_antsel); in brcms_c_antsel_cfgupd()
H A Dampdu.h32 struct brcms_c_info *wlc; member
41 struct brcms_c_info *wlc);
46 struct ampdu_info *brcms_c_ampdu_attach(struct brcms_c_info *wlc);
50 void brcms_c_ampdu_macaddr_upd(struct brcms_c_info *wlc);
H A Dphy_shim.c34 struct brcms_c_info *wlc; /* pointer to main wlc structure */ member
40 struct brcms_c_info *wlc) { in wlc_phy_shim_attach() argument
48 physhim->wlc = wlc; in wlc_phy_shim_attach()
122 brcms_c_suspend_mac_and_wait(physhim->wlc); in wlapi_suspend_mac_and_wait()
132 brcms_c_enable_mac(physhim->wlc); in wlapi_enable_mac()
H A Dchannel.h35 struct brcms_cm_info *brcms_c_channel_mgr_attach(struct brcms_c_info *wlc);
45 void brcms_c_regd_init(struct brcms_c_info *wlc);
H A Dled.c56 struct bcma_drv_cc *cc_drv = &wl->wlc->hw->d11core->bus->drv_cc; in brcms_led_register()
58 struct ssb_sprom *sprom = &wl->wlc->hw->d11core->bus->sprom; in brcms_led_register()
H A Dantsel.h20 struct antsel_info *brcms_c_antsel_attach(struct brcms_c_info *wlc);
H A Dmac80211_if.h65 struct brcms_c_info *wlc; /* pointer to private common data */ member
H A Dphy_shim.h129 struct brcms_c_info *wlc);