Home
last modified time | relevance | path

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

/openbmc/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))
75 if (wlc->stf->txchain == wlc->stf->hw_txchain) { in brcms_c_tempsense_upd()
79 } else if (wlc->stf->txchain < wlc->stf->hw_txchain) { in brcms_c_tempsense_upd()
182 brcms_b_txant_set(wlc->hw, wlc->stf->phytxant); in brcms_c_stf_txcore_set()
185 brcms_c_beacon_phytxctl_txant_upd(wlc, wlc->bcn_rspec); in brcms_c_stf_txcore_set()
261 brcms_b_txant_set(wlc->hw, wlc->stf->phytxant); in _brcms_c_stf_phy_txant_upd()
287 brcms_c_stf_stbc_tx_set(wlc, wlc->band->band_stf_stbc_tx); in brcms_c_stf_txchain_set()
294 wlc_phy_stf_chain_set(wlc->band->pi, wlc->stf->txchain, in brcms_c_stf_txchain_set()
386 wlc->stf->txchain = wlc->stf->hw_txchain; in brcms_c_stf_phy_chain_calc()
[all …]
H A Dmain.c498 wlc->pub->wlc = wlc; in brcms_c_attach_malloc()
507 wlc->hw->wlc = wlc; in brcms_c_attach_malloc()
1206 struct brcms_c_info *wlc = wlc_hw->wlc; in brcms_b_info_init() local
2389 wlc->macintmask = wlc->defmacintmask; in brcms_c_intrson()
3530 wlc->band = wlc->bandstate[j]; in brcms_c_bandinit_ordered()
4405 wlc_hw->wlc = wlc; in brcms_b_attach()
5415 brcms_b_retrylimit_upd(wlc->hw, wlc->SRL, wlc->LRL); in brcms_c_set_rate_limit()
7918 wlc->band = wlc->bandstate[0]; in brcms_c_attach()
7919 wlc->core = wlc->corestate; in brcms_c_attach()
7966 wlc->band = wlc->bandstate[j]; in brcms_c_attach()
[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);
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);
283 bool brcms_c_intrsupd(struct brcms_c_info *wlc);
284 bool brcms_c_isr(struct brcms_c_info *wlc);
310 void brcms_c_scan_stop(struct brcms_c_info *wlc);
[all …]
H A Dampdu.c183 struct brcms_c_info *wlc = ampdu->wlc; in brcms_c_ampdu_set() local
191 wlc->pub->unit); in brcms_c_ampdu_set()
196 wlc->pub->unit); in brcms_c_ampdu_set()
232 ampdu->wlc = wlc; in brcms_c_ampdu_attach()
255 if (BRCMS_ISNPHY(wlc->band) && NREV_LT(wlc->band->phyrev, 2)) in brcms_c_ampdu_attach()
498 session->wlc = wlc; in brcms_c_ampdu_reset_session()
514 struct brcms_c_info *wlc = session->wlc; in brcms_c_ampdu_add_frame() local
622 struct brcms_c_info *wlc = session->wlc; in brcms_c_ampdu_finalize() local
833 struct brcms_c_info *wlc = ampdu->wlc; in brcms_c_ampdu_dotxstatus_complete() local
1020 struct brcms_c_info *wlc = ampdu->wlc; in brcms_c_ampdu_dotxstatus() local
[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 Dchannel.c312 struct brcms_c_info *wlc = wlc_cm->wlc; in brcms_c_set_country() local
318 brcms_c_stf_ss_update(wlc, wlc->bandstate[BAND_2G_INDEX]); in brcms_c_set_country()
319 brcms_c_stf_ss_update(wlc, wlc->bandstate[BAND_5G_INDEX]); in brcms_c_set_country()
321 brcms_c_set_gmode(wlc, wlc->protection->gmode_user, false); in brcms_c_set_country()
338 wlc_cm->wlc = wlc; in brcms_c_channel_mgr_attach()
339 wlc->cmi = wlc_cm; in brcms_c_channel_mgr_attach()
376 struct brcms_c_info *wlc = wlc_cm->wlc; in brcms_c_channel_set_chanspec() local
390 brcms_c_set_gmode(wlc, wlc->protection->gmode_user, false); in brcms_c_channel_set_chanspec()
401 struct brcms_c_info *wlc = wlc_cm->wlc; in brcms_c_channel_reg_limits() local
604 struct brcms_c_info *wlc = wlc_cm->wlc; in brcms_c_valid_chanspec_ext() local
[all …]
H A Dmac80211_if.c304 if (wl->wlc) { in brcms_free()
305 brcms_c_detach(wl->wlc); in brcms_free()
306 wl->wlc = NULL; in brcms_free()
335 if (wl->wlc) { in brcms_remove()
467 if (wl->wlc == NULL) in brcms_ops_stop()
503 wl->wlc->vif = vif; in brcms_ops_add_interface()
524 wl->wlc->vif = NULL; in brcms_ops_remove_interface()
950 if (wl->wlc->vif) in brcms_ops_beacon_set_tim()
1047 struct brcms_c_info *wlc = wl->wlc; in ieee_hw_rate_init() local
1155 if (!wl->wlc) { in brcms_attach()
[all …]
H A Dmain.h141 #define CHANNEL_BANDUNIT(wlc, ch) \ argument
144 #define OTHERBANDUNIT(wlc) \ argument
216 #define BRCMS_STF_SS_STBC_TX(wlc, scb) \ argument
217 (((wlc)->stf->txstreams > 1) && (((wlc)->band->band_stf_stbc_tx == ON) \
222 #define BRCMS_STBC_CAP_PHY(wlc) (BRCMS_ISNPHY(wlc->band) && \ argument
223 NREV_GE(wlc->band->phyrev, 3))
225 #define BRCMS_SGI_CAP_PHY(wlc) ((BRCMS_ISNPHY(wlc->band) && \ argument
226 NREV_GE(wlc->band->phyrev, 3)) || \
227 BRCMS_ISLCNPHY(wlc->band))
314 struct brcms_c_info *wlc; member
[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 Ddebug.c51 dev_name(&drvr->wlc->hw->d11core->dev), root_folder); in brcms_debugfs_attach()
68 struct brcms_hardware *hw = drvr->wlc->hw; in brcms_debugfs_hardware_read()
91 drvr->wlc->hw->boardflags, drvr->wlc->hw->boardflags2, in brcms_debugfs_hardware_read()
92 drvr->wlc->ucode_rev, hw->band->radiorev, in brcms_debugfs_hardware_read()
106 stats = *(drvr->wlc->core->macstat_snapshot); in brcms_debugfs_macstat_read()
193 struct device *dev = &drvr->wlc->hw->d11core->dev; in brcms_debugfs_add_entry()
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 Ddma.h77 extern struct dma_pub *dma_attach(char *name, struct brcms_c_info *wlc,
89 int dma_txfast(struct brcms_c_info *wlc, struct dma_pub *pub,
H A Dled.c57 struct bcma_drv_cc *cc_drv = &wl->wlc->hw->d11core->bus->drv_cc; in brcms_led_register()
59 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 Ddma.c548 struct dma_pub *dma_attach(char *name, struct brcms_c_info *wlc, in dma_attach() argument
553 struct si_pub *sih = wlc->hw->sih; in dma_attach()
554 struct bcma_device *core = wlc->hw->d11core; in dma_attach()
699 brcms_c_ampdu_reset_session(&di->ampdu_session, wlc); in dma_attach()
1322 trace_brcms_ampdu_session(&session->wlc->hw->d11core->dev, in ampdu_finalize()
1341 brcms_c_ampdu_reset_session(session, session->wlc); in ampdu_finalize()
1379 int dma_txfast(struct brcms_c_info *wlc, struct dma_pub *pub, in dma_txfast() argument
H A Dphy_shim.h129 struct brcms_c_info *wlc);