Home
last modified time | relevance | path

Searched full:ant (Results 1 – 25 of 139) sorted by relevance

123456

/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00link.c38 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00link_antenna_get_link_rssi() local
41 return rt2x00link_get_avg_rssi(&ant->rssi_ant); in rt2x00link_antenna_get_link_rssi()
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()
64 ewma_rssi_init(&rt2x00dev->link.ant.rssi_ant); in rt2x00link_antenna_reset()
69 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00lib_antenna_diversity_sample() local
76 memcpy(&new_ant, &ant->active, sizeof(new_ant)); in rt2x00lib_antenna_diversity_sample()
[all …]
H 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()
H A Drt2x00mac.c746 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00mac_set_antenna() local
758 if (ant->flags & ANTENNA_TX_DIVERSITY && tx_ant != 3) in rt2x00mac_set_antenna()
759 ant->flags &= ~ANTENNA_TX_DIVERSITY; in rt2x00mac_set_antenna()
760 if (ant->flags & ANTENNA_RX_DIVERSITY && rx_ant != 3) in rt2x00mac_set_antenna()
761 ant->flags &= ~ANTENNA_RX_DIVERSITY; in rt2x00mac_set_antenna()
769 ant->flags |= ANTENNA_TX_DIVERSITY; in rt2x00mac_set_antenna()
774 ant->flags |= ANTENNA_RX_DIVERSITY; in rt2x00mac_set_antenna()
791 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00mac_get_antenna() local
792 struct antenna_setup *active = &rt2x00dev->link.ant.active; in rt2x00mac_get_antenna()
796 if (ant->flags & ANTENNA_TX_DIVERSITY) in rt2x00mac_get_antenna()
[all …]
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H 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()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/
H 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
209 return scnprintf(buf, bufsz, "Legacy | ANT: %s Rate: %s Mbps", in rs_pretty_print_rate()
210 iwl_rs_pretty_ant(ant), in rs_pretty_print_rate()
236 "0x%x: %s | ANT: %s BW: %s MCS: %d NSS: %d %s%s%s%s%s", 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()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/
H A Dhalbtc8821a2ant.h5 * The following is for 8821A 2Ant BT Co-exist definition
19 /* WiFi RSSI Threshold for 2-Ant TDMA/1-Ant PS-TDMA translation */
21 /* BT RSSI Threshold for 2-Ant TDMA/1-Ant PS-TDMA translation */
H A Dhalbtc8723b2ant.h8 * The following is for 8723B 2Ant BT Co-exist definition
21 /* WiFi RSSI Threshold for 2-Ant TDMA/1-Ant PS-TDMA translation */
23 /* BT RSSI Threshold for 2-Ant TDMA/1-Ant PS-TDMA translation */
H A Dhalbtcoutsrc.h130 u8 pg_ant_num; /* pg ant number */
131 u8 btdm_ant_num; /* ant number for btdm */
284 /* for 1Ant */
322 /********* for 1Ant **********/
553 /* the following is for 1Ant solution */
H A Dhalbtc8192e2ant.c2497 "[BTCoex], Action 2-Ant common\n"); in btc8192e2ant_run_coexist_mechanism()
2510 "Action 2-Ant, algorithm = SCO\n"); in btc8192e2ant_run_coexist_mechanism()
2515 "Action 2-Ant, algorithm = SCO+PAN(EDR)\n"); in btc8192e2ant_run_coexist_mechanism()
2520 "Action 2-Ant, algorithm = HID\n"); in btc8192e2ant_run_coexist_mechanism()
2525 "Action 2-Ant, algorithm = A2DP\n"); in btc8192e2ant_run_coexist_mechanism()
2530 "Action 2-Ant, algorithm = A2DP+PAN(HS)\n"); in btc8192e2ant_run_coexist_mechanism()
2535 "Action 2-Ant, algorithm = PAN(EDR)\n"); in btc8192e2ant_run_coexist_mechanism()
2540 "Action 2-Ant, algorithm = HS mode\n"); in btc8192e2ant_run_coexist_mechanism()
2545 "Action 2-Ant, algorithm = PAN+A2DP\n"); in btc8192e2ant_run_coexist_mechanism()
2550 "Action 2-Ant, algorithm = PAN(EDR)+HID\n"); in btc8192e2ant_run_coexist_mechanism()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtl818x/rtl8180/
H 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()
170 rtl8180_write_phy(dev, 0x12, 0xc0); /* enable ant diversity */ in grf5101_rf_init()
172 rtl8180_write_phy(dev, 0x12, 0x40); /* disable ant diversity */ in grf5101_rf_init()
H 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()
H 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()
209 rtl8180_write_phy(dev, 0x12, 0xc7); /* enable ant diversity */ in sa2400_rf_init()
211 rtl8180_write_phy(dev, 0x12, 0x47); /* disable ant diversity */ in sa2400_rf_init()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drs.c121 u8 ant; member
131 return iwl_mvm_bt_coex_is_ant_avail(mvm, next_col->ant); in rs_ant_allow()
192 .ant = ANT_A,
208 .ant = ANT_B,
224 .ant = ANT_A,
241 .ant = ANT_B,
258 .ant = ANT_A,
277 .ant = ANT_B,
296 .ant = ANT_AB,
312 .ant = ANT_AB,
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Drtw8851b.c1913 module->ant.isolation = 10; in rtw8851b_btc_set_rfe()
1919 /* rfe_type 3*n+1: 1-Ant(shared), in rtw8851b_btc_set_rfe()
1920 * 3*n+2: 2-Ant+Div(non-shared), in rtw8851b_btc_set_rfe()
1921 * 3*n+3: 2-Ant+no-Div(non-shared) in rtw8851b_btc_set_rfe()
1923 module->ant.num = (module->rfe_type % 3 == 1) ? 1 : 2; in rtw8851b_btc_set_rfe()
1925 module->ant.single_pos = RF_PATH_A; in rtw8851b_btc_set_rfe()
1926 module->ant.btg_pos = RF_PATH_A; in rtw8851b_btc_set_rfe()
1927 module->ant.stream_cnt = 1; in rtw8851b_btc_set_rfe()
1929 if (module->ant.num == 1) { in rtw8851b_btc_set_rfe()
1930 module->ant.type = BTC_ANT_SHARED; in rtw8851b_btc_set_rfe()
[all …]
/openbmc/linux/drivers/staging/rtl8723bs/hal/
H A DHalBtcOutSrc.h80 u8 pgAntNum; /* pg ant number */
81 u8 btdmAntNum; /* ant number for btdm */
82 …Bryant Add to indicate Antenna Position for (pgAntNum = 2) && (btdmAntNum = 1) (DPDT+1Ant case) */
154 /* for 1Ant ====== */
179 /* for 1Ant ====== */
307 bool bForceToRoam; /* for 1Ant solution */
H A Dodm.h60 /* ANT Test */
61 #define ANTTESTALL 0x00 /* Ant A or B will be Testing */
62 #define ANTTESTA 0x01 /* Ant A will be Testing */
63 #define ANTTESTB 0x02 /* Ant B will be testing */
67 /* for 8723A Ant Definition--2012--06--07 due to different IC may be different ANT define */
68 #define MAIN_ANT 1 /* Ant A or Ant Main */
69 #define AUX_ANT 2 /* AntB or Ant Aux */
149 bool ANTA_ON; /* To indicate Ant A is or not */
150 bool ANTB_ON; /* To indicate Ant B is on or not */
/openbmc/linux/drivers/net/wireless/realtek/rtw88/
H A Dcoex.c424 "[BTCoex], (Before Ant Setup) Delay by IQK\n"); in rtw_coex_check_rfk()
438 "[BTCoex], (Before Ant Setup) wlk = %d, btk = %d\n", in rtw_coex_check_rfk()
1536 /* Shared-Ant */ in rtw_coex_action_coex_all_off()
1540 /* Non-Shared-Ant */ in rtw_coex_action_coex_all_off()
1606 /* Shared-Ant */ in rtw_coex_action_rf4ce()
1610 /* Non-Shared-Ant */ in rtw_coex_action_rf4ce()
1631 /* Shared-Ant */ in rtw_coex_action_bt_whql_test()
1635 /* Non-Shared-Ant */ in rtw_coex_action_bt_whql_test()
1658 if (efuse->share_ant) { /* Shared-Ant */ in rtw_coex_action_bt_relink()
1672 } else { /* Non-Shared-Ant */ in rtw_coex_action_bt_relink()
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Drs.h418 /* Bit 14-16: Antenna selection (1) Ant A, (2) Ant B, (4) Ant C */
566 * Bit 14: Ant A active
567 * Bit 15: Ant B active
763 const char *iwl_rs_pretty_ant(u8 ant);
/openbmc/linux/drivers/usb/serial/
H A Dusb-serial-simple.c109 /* Suunto ANT+ USB Driver */
112 { USB_DEVICE(0x0fcf, 0x1009) } /* Dynastream ANT USB-m Stick */
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
H A Drf.c69 * diff from Ant-B to Ant-A */ in _rtl92s_get_powerbase()
76 * of the power diff for Ant-B to Ant-A. */ in _rtl92s_get_powerbase()
/openbmc/linux/drivers/net/ethernet/seeq/
H A DKconfig21 tristate "Acorn/ANT Ether3 support"
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/
H A Dmediatek,mt7981-pinctrl.yaml153 "ant_sel" "ant" 14, 15, 16, 17, 18, 19, 20, 21, 22,
161 enum: [wa_aice, dfd, jtag, pta, pcm, udi, usb, ant, eth, i2c, led,
231 const: ant
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/opencv/
H A Dopencv_4.10.0.bb108 …d64/libjawt.so -DJAVA_JVM_LIBRARY=${JAVA_HOME}/lib/amd64/server/libjvm.so,,ant-native fastjar-nati…
114 …jawt.so -DJAVA_JVM_LIBRARY=${ORACLE_JAVA_HOME}/lib/amd64/server/libjvm.so,,ant-native oracle-jse-j…
129 export ANT_DIR="${STAGING_DIR_NATIVE}/usr/share/ant/"
/openbmc/openbmc/poky/meta/files/common-licenses/
H A DCECILL-2.036 …l sous sa forme de Code Objet et/ou de Code Source et le cas &#233;ch&#233;ant sa documentation, d…
38 …e Code Source et &#233;ventuellement de Code Objet et le cas &#233;ch&#233;ant sa documentation, d…
174 … des Contributeurs sur le Logiciel et &#224; prendre, le cas &#233;ch&#233;ant, &#224; l`&#233;gar…
202 …3;. Aucune garantie n`est apport&#233;e quant &#224; l`existence de droits ant&#233;rieurs sur le …
208 …le Logiciel. Cependant, toutes les licences qu`il aura conc&#233;d&#233;es ant&#233;rieurement &#2…
218 11.3 Le Contrat annule et remplace toute convention ant&#233;rieure, &#233;crite ou orale, entre le…
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Deeprom_4k.c79 PR_EEP("Chain0 Ant. Control", le16_to_cpu(modal_hdr->antCtrlChain[0])); in ath9k_dump_4k_modal_eeprom()
80 PR_EEP("Ant. Common Control", le32_to_cpu(modal_hdr->antCtrlCommon)); in ath9k_dump_4k_modal_eeprom()
81 PR_EEP("Chain0 Ant. Gain", modal_hdr->antennaGainCh[0]); in ath9k_dump_4k_modal_eeprom()
123 PR_EEP("Ant. Diversity ctl1", modal_hdr->antdiv_ctl1); in ath9k_dump_4k_modal_eeprom()
124 PR_EEP("Ant. Diversity ctl2", modal_hdr->antdiv_ctl2); in ath9k_dump_4k_modal_eeprom()
777 /* Initialize Ant Diversity settings from EEPROM */ in ath9k_hw_4k_set_board_values()

123456