Home
last modified time | relevance | path

Searched refs:ant (Results 1 – 25 of 46) sorted by relevance

12

/linux-6.3-rc2/drivers/net/wireless/ralink/rt2x00/
A Drt2x00link.c38 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00link_antenna_get_link_rssi() local
48 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00link_antenna_get_rssi_history() local
50 if (ant->rssi_history) in rt2x00link_antenna_get_rssi_history()
51 return ant->rssi_history; in rt2x00link_antenna_get_rssi_history()
58 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00link_antenna_update_rssi_history() local
59 ant->rssi_history = rssi; in rt2x00link_antenna_update_rssi_history()
69 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00lib_antenna_diversity_sample() local
110 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00lib_antenna_diversity_eval() local
150 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00lib_antenna_diversity() local
158 ant->flags = 0; in rt2x00lib_antenna_diversity()
[all …]
A Drt2x00mac.c735 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00mac_set_antenna() local
747 if (ant->flags & ANTENNA_TX_DIVERSITY && tx_ant != 3) in rt2x00mac_set_antenna()
748 ant->flags &= ~ANTENNA_TX_DIVERSITY; in rt2x00mac_set_antenna()
749 if (ant->flags & ANTENNA_RX_DIVERSITY && rx_ant != 3) in rt2x00mac_set_antenna()
750 ant->flags &= ~ANTENNA_RX_DIVERSITY; in rt2x00mac_set_antenna()
758 ant->flags |= ANTENNA_TX_DIVERSITY; in rt2x00mac_set_antenna()
763 ant->flags |= ANTENNA_RX_DIVERSITY; in rt2x00mac_set_antenna()
780 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00mac_get_antenna() local
781 struct antenna_setup *active = &rt2x00dev->link.ant.active; in rt2x00mac_get_antenna()
785 if (ant->flags & ANTENNA_TX_DIVERSITY) in rt2x00mac_get_antenna()
[all …]
A Drt2x00config.c107 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00lib_config_antenna() local
109 struct antenna_setup *active = &rt2x00dev->link.ant.active; in rt2x00lib_config_antenna()
119 if (!(ant->flags & ANTENNA_RX_DIVERSITY)) { in rt2x00lib_config_antenna()
121 ant->flags |= ANTENNA_RX_DIVERSITY; in rt2x00lib_config_antenna()
131 if (!(ant->flags & ANTENNA_TX_DIVERSITY)) { in rt2x00lib_config_antenna()
133 ant->flags |= ANTENNA_TX_DIVERSITY; in rt2x00lib_config_antenna()
A Drt61pci.c534 struct antenna_setup *ant) in rt61pci_config_antenna_5x() argument
549 switch (ant->rx) { in rt61pci_config_antenna_5x()
580 struct antenna_setup *ant) in rt61pci_config_antenna_2x() argument
597 switch (ant->rx) { in rt61pci_config_antenna_2x()
634 struct antenna_setup *ant) in rt61pci_config_antenna_2529() argument
647 switch (ant->rx) { in rt61pci_config_antenna_2529()
704 struct antenna_setup *ant) in rt61pci_config_ant() argument
715 BUG_ON(ant->rx == ANTENNA_SW_DIVERSITY || in rt61pci_config_ant()
716 ant->tx == ANTENNA_SW_DIVERSITY); in rt61pci_config_ant()
739 rt61pci_config_antenna_5x(rt2x00dev, ant); in rt61pci_config_ant()
[all …]
A Drt73usb.c568 struct antenna_setup *ant) in rt73usb_config_antenna_5x() argument
584 switch (ant->rx) { in rt73usb_config_antenna_5x()
616 struct antenna_setup *ant) in rt73usb_config_antenna_2x() argument
633 switch (ant->rx) { in rt73usb_config_antenna_2x()
685 struct antenna_setup *ant) in rt73usb_config_ant() argument
696 BUG_ON(ant->rx == ANTENNA_SW_DIVERSITY || in rt73usb_config_ant()
697 ant->tx == ANTENNA_SW_DIVERSITY); in rt73usb_config_ant()
720 rt73usb_config_antenna_5x(rt2x00dev, ant); in rt73usb_config_ant()
722 rt73usb_config_antenna_2x(rt2x00dev, ant); in rt73usb_config_ant()
A Drt2x00lib.h81 struct antenna_setup ant);
A Drt2400pci.c391 struct antenna_setup *ant) in rt2400pci_config_ant() argument
400 BUG_ON(ant->rx == ANTENNA_SW_DIVERSITY || in rt2400pci_config_ant()
401 ant->tx == ANTENNA_SW_DIVERSITY); in rt2400pci_config_ant()
409 switch (ant->tx) { in rt2400pci_config_ant()
425 switch (ant->rx) { in rt2400pci_config_ant()
A Drt2500usb.c501 struct antenna_setup *ant) in rt2500usb_config_ant() argument
512 BUG_ON(ant->rx == ANTENNA_SW_DIVERSITY || in rt2500usb_config_ant()
513 ant->tx == ANTENNA_SW_DIVERSITY); in rt2500usb_config_ant()
523 switch (ant->tx) { in rt2500usb_config_ant()
545 switch (ant->rx) { in rt2500usb_config_ant()
A Drt2500pci.c397 struct antenna_setup *ant) in rt2500pci_config_ant() argument
407 BUG_ON(ant->rx == ANTENNA_SW_DIVERSITY || in rt2500pci_config_ant()
408 ant->tx == ANTENNA_SW_DIVERSITY); in rt2500pci_config_ant()
417 switch (ant->tx) { in rt2500pci_config_ant()
434 switch (ant->rx) { in rt2500pci_config_ant()
A Drt2800lib.h234 void rt2800_config_ant(struct rt2x00_dev *rt2x00dev, struct antenna_setup *ant);
/linux-6.3-rc2/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
A Dantsel.c34 #define BRCMS_ANTSEL_11N_0(ant) ((((ant) & ANT_SELCFG_MASK) >> 4) & 0xf) argument
35 #define BRCMS_ANTSEL_11N_1(ant) (((ant) & ANT_SELCFG_MASK) & 0xf) argument
36 #define BRCMS_ANTIDX_11N(ant) (((BRCMS_ANTSEL_11N_0(ant)) << 2) +\ argument
37 (BRCMS_ANTSEL_11N_1(ant)))
38 #define BRCMS_ANT_ISAUTO_11N(ant) (((ant) & ANT_SELCFG_AUTO) == ANT_SELCFG_AUTO) argument
39 #define BRCMS_ANTSEL_11N(ant) ((ant) & ANT_SELCFG_MASK) argument
265 u8 ant; in brcms_c_antsel_antcfg_get() local
279 ant = asi->antcfg_11n.ant_config[ANT_SELCFG_TX_UNICAST]; in brcms_c_antsel_antcfg_get()
280 if ((ant & ANT_SELCFG_AUTO) == ANT_SELCFG_AUTO) { in brcms_c_antsel_antcfg_get()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtl818x/rtl8180/
A Dmax2820.c62 u8 ant; in max2820_write_phy_antenna() local
64 ant = MAXIM_ANTENNA; in max2820_write_phy_antenna()
66 ant |= BB_ANTENNA_B; in max2820_write_phy_antenna()
68 ant |= BB_ANTATTEN_CHAN14; in max2820_write_phy_antenna()
70 rtl8180_write_phy(dev, 0x10, ant); in max2820_write_phy_antenna()
A Dgrf5101.c57 u8 ant = GRF5101_ANTENNA; in grf5101_write_phy_antenna() local
60 ant |= BB_ANTENNA_B; in grf5101_write_phy_antenna()
63 ant |= BB_ANTATTEN_CHAN14; in grf5101_write_phy_antenna()
65 rtl8180_write_phy(dev, 0x10, ant); in grf5101_write_phy_antenna()
A Dsa2400.c63 u8 ant = SA2400_ANTENNA; in sa2400_write_phy_antenna() local
66 ant |= BB_ANTENNA_B; in sa2400_write_phy_antenna()
69 ant |= BB_ANTATTEN_CHAN14; in sa2400_write_phy_antenna()
71 rtl8180_write_phy(dev, 0x10, ant); in sa2400_write_phy_antenna()
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/fw/
A Drs.c76 const char *iwl_rs_pretty_ant(u8 ant) in iwl_rs_pretty_ant() argument
78 if (ant >= ARRAY_SIZE(ant_name)) in iwl_rs_pretty_ant()
81 return ant_name[ant]; in iwl_rs_pretty_ant()
196 u8 ant = (rate & RATE_MCS_ANT_AB_MSK) >> RATE_MCS_ANT_POS; in rs_pretty_print_rate() local
210 iwl_rs_pretty_ant(ant), in rs_pretty_print_rate()
237 rate, type, iwl_rs_pretty_ant(ant), iwl_rs_pretty_bw(bw), mcs, nss, in rs_pretty_print_rate()
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/mvm/
A Drs.c121 u8 ant; member
192 .ant = ANT_A,
208 .ant = ANT_B,
224 .ant = ANT_A,
241 .ant = ANT_B,
258 .ant = ANT_A,
277 .ant = ANT_B,
1103 ant_match = (b->ant == ANT_A || b->ant == ANT_B); in rs_rate_column_match()
1105 ant_match = (a->ant == b->ant); in rs_rate_column_match()
1687 rate->ant = column->ant; in rs_switch_to_column()
[all …]
A Dcoex.c602 bool iwl_mvm_bt_coex_is_ant_avail(struct iwl_mvm *mvm, u8 ant) in iwl_mvm_bt_coex_is_ant_avail() argument
608 if (ant & mvm->cfg->non_shared_ant) in iwl_mvm_bt_coex_is_ant_avail()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
A Ddm.c1218 u8 ant) in rtl88e_dm_update_rx_idle_ant() argument
1226 if (pfat_table->rx_idle_ant != ant) { in rtl88e_dm_update_rx_idle_ant()
1229 if (ant == MAIN_ANT) { in rtl88e_dm_update_rx_idle_ant()
1262 pfat_table->rx_idle_ant = ant; in rtl88e_dm_update_rx_idle_ant()
1264 (ant == MAIN_ANT) ? ("MAIN_ANT") : ("AUX_ANT")); in rtl88e_dm_update_rx_idle_ant()
1268 u8 ant, u32 mac_id) in rtl88e_dm_update_tx_ant() argument
1275 if (ant == MAIN_ANT) in rtl88e_dm_update_tx_ant()
1284 (ant == MAIN_ANT) ? ("MAIN_ANT") : ("AUX_ANT")); in rtl88e_dm_update_tx_ant()
/linux-6.3-rc2/Documentation/devicetree/bindings/pinctrl/
A Dmediatek,mt7981-pinctrl.yaml151 "ant_sel" "ant" 14, 15, 16, 17, 18, 19, 20, 21, 22
159 enum: [wa_aice, dfd, jtag, pta, pcm, udi, usb, ant, eth, i2c, led,
229 const: ant
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw89/
A Drtw8852a.c1648 module->ant.num = (module->rfe_type % 2 ? 2 : 3); in rtw8852a_btc_set_rfe()
1650 module->ant.num = 2; in rtw8852a_btc_set_rfe()
1652 module->ant.diversity = 0; in rtw8852a_btc_set_rfe()
1653 module->ant.isolation = 10; in rtw8852a_btc_set_rfe()
1655 if (module->ant.num == 3) { in rtw8852a_btc_set_rfe()
1656 module->ant.type = BTC_ANT_DEDICATED; in rtw8852a_btc_set_rfe()
1659 module->ant.type = BTC_ANT_SHARED; in rtw8852a_btc_set_rfe()
1709 if (module->ant.type == BTC_ANT_SHARED) { in rtw8852a_btc_init_cfg()
A Drtw8852b.c2102 module->ant.num = module->rfe_type % 2 ? 2 : 3; in rtw8852b_btc_set_rfe()
2104 module->ant.num = 2; in rtw8852b_btc_set_rfe()
2106 module->ant.diversity = 0; in rtw8852b_btc_set_rfe()
2107 module->ant.isolation = 10; in rtw8852b_btc_set_rfe()
2109 if (module->ant.num == 3) { in rtw8852b_btc_set_rfe()
2110 module->ant.type = BTC_ANT_DEDICATED; in rtw8852b_btc_set_rfe()
2113 module->ant.type = BTC_ANT_SHARED; in rtw8852b_btc_set_rfe()
2149 if (module->ant.type == BTC_ANT_SHARED) { in rtw8852b_btc_init_cfg()
A Dcoex.c2202 if (btc->mdinfo.ant.type == BTC_ANT_SHARED) { in _check_freerun()
2353 if (btc->mdinfo.ant.type == BTC_ANT_SHARED) { in rtw89_btc_set_policy()
2661 if (btc->mdinfo.ant.type == BTC_ANT_SHARED) { in rtw89_btc_set_policy_v1()
3274 if (btc->mdinfo.ant.type == BTC_ANT_SHARED) { in _action_bt_hfp()
3567 if (btc->mdinfo.ant.type == BTC_ANT_SHARED) in _action_wl_other()
3918 if (btc->mdinfo.ant.type == BTC_ANT_SHARED) in _action_wl_scan()
3946 if (btc->mdinfo.ant.type == BTC_ANT_SHARED) { in _action_wl_25g_mcc()
4003 if (btc->mdinfo.ant.type == BTC_ANT_DEDICATED) { in _action_wl_2g_scc_v1()
4061 if (btc->mdinfo.ant.type == BTC_ANT_SHARED) { in _action_wl_2g_ap()
5743 btc->mdinfo.ant.isolation, btc->mdinfo.ant.num, in _show_cx_info()
[all …]
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt7601u/
A Dmac.h38 u8 ant; member
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/dvm/
A Dlib.c836 u8 iwl_toggle_tx_ant(struct iwl_priv *priv, u8 ant, u8 valid) in iwl_toggle_tx_ant() argument
839 u8 ind = ant; in iwl_toggle_tx_ant()
850 return ant; in iwl_toggle_tx_ant()
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/fw/api/
A Drs.h754 const char *iwl_rs_pretty_ant(u8 ant);

Completed in 95 milliseconds

12