/openbmc/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00link.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> 20 * When we lack RSSI information return something less then -80 to 23 #define DEFAULT_RSSI -128 31 return -avg; in rt2x00link_get_avg_rssi() 38 struct link_ant *ant = &rt2x00dev->link.ant; in rt2x00link_antenna_get_link_rssi() local 40 if (rt2x00dev->link.qual.rx_success) in rt2x00link_antenna_get_link_rssi() 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() [all …]
|
H A D | rt2x00config.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> 60 if (mac || (!rt2x00dev->intf_ap_count && !rt2x00dev->intf_sta_count)) in rt2x00lib_config_intf() 62 if (bssid || (!rt2x00dev->intf_ap_count && !rt2x00dev->intf_sta_count)) in rt2x00lib_config_intf() 65 rt2x00dev->ops->lib->config_intf(rt2x00dev, intf, &conf, flags); in rt2x00lib_config_intf() 79 erp.short_preamble = bss_conf->use_short_preamble; in rt2x00lib_config_erp() 80 erp.cts_protection = bss_conf->use_cts_prot; in rt2x00lib_config_erp() 82 erp.slot_time = bss_conf->use_short_slot ? SHORT_SLOT_TIME : SLOT_TIME; in rt2x00lib_config_erp() 84 erp.pifs = bss_conf->use_short_slot ? SHORT_PIFS : PIFS; in rt2x00lib_config_erp() 85 erp.difs = bss_conf->use_short_slot ? SHORT_DIFS : DIFS; in rt2x00lib_config_erp() [all …]
|
H A D | rt2x00mac.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> 29 if (tx_info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) in rt2x00mac_tx_rts_cts() 34 skb = dev_alloc_skb(data_length + rt2x00dev->hw->extra_tx_headroom); in rt2x00mac_tx_rts_cts() 37 return -ENOMEM; in rt2x00mac_tx_rts_cts() 40 skb_reserve(skb, rt2x00dev->hw->extra_tx_headroom); in rt2x00mac_tx_rts_cts() 47 * RTS frames should be acked, while CTS-to-self frames in rt2x00mac_tx_rts_cts() 52 memcpy(skb->cb, frag_skb->cb, sizeof(skb->cb)); in rt2x00mac_tx_rts_cts() 54 rts_info->control.rates[0].flags &= ~IEEE80211_TX_RC_USE_RTS_CTS; in rt2x00mac_tx_rts_cts() 55 rts_info->control.rates[0].flags &= ~IEEE80211_TX_RC_USE_CTS_PROTECT; in rt2x00mac_tx_rts_cts() [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | antsel.c | 34 #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 82 if (asi->antsel_type == ANTSEL_2x3) { in brcms_c_antsel_init_cfg() 84 ((asi->antsel_avail && auto_sel) ? ANT_SELCFG_AUTO : 0); in brcms_c_antsel_init_cfg() 85 antsel->ant_config[ANT_SELCFG_TX_DEF] = antcfg_def; in brcms_c_antsel_init_cfg() 86 antsel->ant_config[ANT_SELCFG_TX_UNICAST] = antcfg_def; in brcms_c_antsel_init_cfg() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | rs.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2021-2022 Intel Corporation 8 #include "iwl-drv.h" 9 #include "iwl-config.h" 76 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() 104 return idx - offset; in iwl_legacy_rate_to_fw_idx() 144 * bit for this purpose - as it was done in the old in iwl_new_rate_from_v1() 196 u8 ant = (rate & RATE_MCS_ANT_AB_MSK) >> RATE_MCS_ANT_POS; in rs_pretty_print_rate() local [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
H A D | halbtc8821a2ant.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * 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 D | halbtc8723b2ant.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * 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 D | halbtcoutsrc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2009-2012 Realtek Corporation.*/ 130 u8 pg_ant_num; /* pg ant number */ 131 u8 btdm_ant_num; /* ant number for btdm */ 211 /* for 8723b-d cut large current issue */ 284 /* for 1Ant */ 322 /********* for 1Ant **********/ 553 /* the following is for 1Ant solution */ 669 /* some bt info referenced by non-bt module */ 690 /* function pointers - io related */ [all …]
|
H A D | halbtc8192e2ant.c | 1 // SPDX-License-Identifier: GPL-2.0 35 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8192e2ant_bt_rssi_state() 37 u8 bt_rssi_state = coex_sta->pre_bt_rssi_state; in btc8192e2ant_bt_rssi_state() 39 bt_rssi = coex_sta->bt_rssi; in btc8192e2ant_bt_rssi_state() 42 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8192e2ant_bt_rssi_state() 43 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8192e2ant_bt_rssi_state() 59 return coex_sta->pre_bt_rssi_state; in btc8192e2ant_bt_rssi_state() 62 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8192e2ant_bt_rssi_state() 63 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8192e2ant_bt_rssi_state() 69 } else if ((coex_sta->pre_bt_rssi_state == in btc8192e2ant_bt_rssi_state() [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtl818x/rtl8180/ |
H A D | grf5101.c | 1 // SPDX-License-Identifier: GPL-2.0-only 35 struct rtl8180_priv *priv = dev->priv; in write_grf5101() 49 (__le32 __iomem *) &priv->map->RFPinsOutput, phy_config); in write_grf5101() 56 struct rtl8180_priv *priv = dev->priv; in grf5101_write_phy_antenna() 57 u8 ant = GRF5101_ANTENNA; in grf5101_write_phy_antenna() local 59 if (priv->rfparam & RF_PARAM_ANTBDEFAULT) in grf5101_write_phy_antenna() 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() 80 struct rtl8180_priv *priv = dev->priv; in grf5101_rf_set_channel() [all …]
|
H A D | max2820.c | 1 // SPDX-License-Identifier: GPL-2.0-only 44 struct rtl8180_priv *priv = dev->priv; in write_max2820() 54 (__le32 __iomem *) &priv->map->RFPinsOutput, phy_config); in write_max2820() 61 struct rtl8180_priv *priv = dev->priv; in max2820_write_phy_antenna() 62 u8 ant; in max2820_write_phy_antenna() local 64 ant = MAXIM_ANTENNA; in max2820_write_phy_antenna() 65 if (priv->rfparam & RF_PARAM_ANTBDEFAULT) 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() [all …]
|
H A D | sa2400.c | 1 // SPDX-License-Identifier: GPL-2.0-only 45 struct rtl8180_priv *priv = dev->priv; in write_sa2400() 48 /* MAC will bang bits to the sa2400. sw 3-wire is NOT used */ in write_sa2400() 55 (__le32 __iomem *) &priv->map->RFPinsOutput, phy_config); in write_sa2400() 62 struct rtl8180_priv *priv = dev->priv; in sa2400_write_phy_antenna() 63 u8 ant = SA2400_ANTENNA; in sa2400_write_phy_antenna() local 65 if (priv->rfparam & RF_PARAM_ANTBDEFAULT) in sa2400_write_phy_antenna() 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() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | rs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2005 - 2014, 2018 - 2023 Intel Corporation. All rights reserved. 5 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH 6 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH 19 #include "fw-api.h" 21 #include "iwl-op-mode.h" 98 RS_ACTION_DOWNSCALE = -1, 121 u8 ant; member 131 return iwl_mvm_bt_coex_is_ant_avail(mvm, next_col->ant); in rs_ant_allow() 138 if (!sta->deflink.ht_cap.ht_supported) in rs_mimo_allow() [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | rtw8851b.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 /* Copyright(c) 2022-2023 Realtek Corporation 209 {255, 0, 0, 7}, /* 0 -> original */ 210 {255, 2, 0, 7}, /* 1 -> for BT-connected ACI issue && BTG co-rx */ 211 {255, 0, 0, 7}, /* 2 ->reserved for shared-antenna */ 212 {255, 0, 0, 7}, /* 3- >reserved for shared-antenna */ 213 {255, 0, 0, 7}, /* 4 ->reserved for shared-antenna */ 214 {255, 1, 0, 7}, /* the below id is for non-shared-antenna free-run */ 221 {255, 0, 0, 7}, /* 0 -> original */ 222 {255, 2, 0, 7}, /* 1 -> reserved for shared-antenna */ [all …]
|
/openbmc/linux/drivers/staging/rtl8723bs/hal/ |
H A D | HalBtcOutSrc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved. 80 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 */ 364 struct btc_bt_info btInfo; /* some bt info referenced by non-bt module */
|
H A D | odm.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 60 /* 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 */ [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | coex.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 /* Copyright(c) 2018-2019 Realtek Corporation 16 const struct rtw_chip_info *chip = rtwdev->chip; in rtw_coex_next_rssi_state() 17 u8 tol = chip->rssi_tolerance; in rtw_coex_next_rssi_state() 39 const struct rtw_chip_info *chip = rtwdev->chip; in rtw_coex_limited_tx() 40 struct rtw_coex *coex = &rtwdev->coex; in rtw_coex_limited_tx() 41 struct rtw_coex_stat *coex_stat = &coex->stat; in rtw_coex_limited_tx() 44 if (!chip->scbd_support) in rtw_coex_limited_tx() 48 if (coex_stat->wl_tx_limit_en == tx_limit_en && in rtw_coex_limited_tx() 49 coex_stat->wl_ampdu_limit_en == ampdu_limit_en) in rtw_coex_limited_tx() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | rs.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2022 Intel Corporation 12 * enum iwl_tlc_mng_cfg_flags_enum - options for TLC config flags 36 * enum iwl_tlc_mng_cfg_cw - channel width options 52 * enum iwl_tlc_mng_cfg_chains - possible chains 62 * enum iwl_tlc_mng_cfg_mode - supported modes 82 * enum iwl_tlc_mng_ht_rates - HT/VHT/HE rates 120 * enum IWL_TLC_MCS_PER_BW - mcs index per BW 121 * @IWL_TLC_MCS_PER_BW_80: mcs for bw - 20Hhz, 40Hhz, 80Hhz 122 * @IWL_TLC_MCS_PER_BW_160: mcs for bw - 160Mhz [all …]
|
/openbmc/linux/drivers/usb/serial/ |
H A D | usb-serial-simple.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2001-2006,2008,2013 Greg Kroah-Hartman <greg@kroah.com> 38 { USB_DEVICE(0x0a21, 0x8001) } /* MMT-7305WW */ 96 { USB_DEVICE(0x0421, 0x069a) } /* Nokia 130 (RM-1035) */ 109 /* Suunto ANT+ USB Driver */ 112 { USB_DEVICE(0x0fcf, 0x1009) } /* Dynastream ANT USB-m Stick */
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
H A D | rf.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2009-2012 Realtek Corporation.*/ 17 struct rtl_phy *rtlphy = &(rtlpriv->phy); in _rtl92s_get_powerbase() 27 if (rtlefuse->eeprom_version < 2) { in _rtl92s_get_powerbase() 28 pwrbase0 = pwrlevel[0] + (rtlefuse->legacy_ht_txpowerdiff & 0xf); in _rtl92s_get_powerbase() 30 legacy_pwrdiff = rtlefuse->txpwr_legacyhtdiff in _rtl92s_get_powerbase() 31 [RF90_PATH_A][chnl - 1]; in _rtl92s_get_powerbase() 45 if (rtlefuse->eeprom_version >= 2) { in _rtl92s_get_powerbase() 47 if (rtlphy->current_chan_bw == HT_CHANNEL_WIDTH_20) { in _rtl92s_get_powerbase() 49 /* rf-A, rf-B */ in _rtl92s_get_powerbase() [all …]
|
/openbmc/linux/drivers/net/ethernet/seeq/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 21 tristate "Acorn/ANT Ether3 support"
|
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | mediatek,mt7981-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt7981-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Daniel Golle <daniel@makrotopia.org> 18 - mediatek,mt7981-pinctrl 24 reg-names: 26 - const: gpio 27 - const: iocfg_rt 28 - const: iocfg_rm [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/opencv/ |
H A D | opencv_4.10.0.bb | 5 LICENSE = "Apache-2.0" 11 DEPENDS = "libtool swig-native bzip2 zlib glib-2.0 libwebp" 18 SRCREV_wechat-qrcode = "a8b69ccc738421293254aec5ddb38bd523503252" 27 …v_3rdparty.git;branch=wechat_qrcode;destsuffix=git/wechat_qrcode;name=wechat-qrcode;protocol=https… 28 file://0003-To-fix-errors-as-following.patch \ 29 file://0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch \ 30 file://0001-Dont-use-isystem.patch \ 32 file://0001-Make-ts-module-external.patch \ 33 file://0008-Do-not-embed-build-directory-in-binaries.patch \ 35 SRC_URI:append:riscv64 = " file://0001-Use-Os-to-compile-tinyxml2.cpp.patch;patchdir=contrib" [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | eeprom_4k.c | 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 23 u16 version = le16_to_cpu(ah->eeprom.map4k.baseEepHeader.version); in ath9k_hw_4k_get_eeprom_ver() 31 u16 version = le16_to_cpu(ah->eeprom.map4k.baseEepHeader.version); in ath9k_hw_4k_get_eeprom_rev() 40 u16 *eep_data = (u16 *)&ah->eeprom.map4k; in __ath9k_hw_4k_fill_eeprom() 54 u16 *eep_data = (u16 *)&ah->eeprom.map4k; in __ath9k_hw_usb_4k_fill_eeprom() 69 if (common->bus_ops->ath_bus_type == ATH_USB) in ath9k_hw_4k_fill_eeprom() 79 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() 82 PR_EEP("Switch Settle", modal_hdr->switchSettling); in ath9k_dump_4k_modal_eeprom() [all …]
|
/openbmc/openbmc/poky/meta/files/common-licenses/ |
H A D | CECILL-B | 2 CONTRAT DE LICENCE DE LOGICIEL LIBRE CeCILL-B 10 Les auteurs de la licence CeCILL-B1 sont: 12 Commissariat à l`Energie Atomique - CEA, établissement public de recherche à caract&… 14 …ntifique - CNRS, établissement public à caractère scientifique et technologique, do… 16 Institut National de Recherche en Informatique et en Automatique - INRIA, établissement public… 30 Article 1 - DEFINITIONS 36 …l sous sa forme de Code Objet et/ou de Code Source et le cas échéant sa documentation, d… 38 …e Code Source et éventuellement de Code Objet et le cas échéant sa documentation, d… 66 Article 2 - OBJET 68 …ce non exclusive, cessible et mondiale du Logiciel telle que définie ci-après à l`a… [all …]
|