// SPDX-License-Identifier: ISC /* Copyright (C) 2019 MediaTek Inc. * *Author:RoyLuo<royluo@google.com> *RyderLee<ryder.lee@.comjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45 Fietkau<nbd@nbd.name> *LorenzoBianconil@ernel.org
*/
#include <java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0 #include <linux/module.h> #include"mt7615.h" #include"mcu.h"
if (test_bit(java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 1 true
* returntrue;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
tatic mt7615_start(truct *)
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 struct mt7615_dev *dev = * Lorenzo Bianconi <lorenzo@ke struct mt7615_phy *java.lang.StringIndexOutOfBoundsException: Range [0, 23) out of bounds for length 3 unsignedx/oduleh>
include"t7615.h"
i mt7615_phy *phy=mt7615_hw_phy();
if java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
-EIO;
ret = mt76_connac_mcu_set_mac_enablestruct n -Ojava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 1 if(ret) goto out;
mt7615_mac_enable_nf(dev
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [0, 4) out of bounds for length 0 if rjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
goto{
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 goto out;
mt7615_mac_enable_nf(dev
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
java.lang.StringIndexOutOfBoundsException: Range [1, 0) out of bounds for length 0
ret =mt76_connac_mcu_set_channel_domainjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [0, 4) out of bounds for length 0 goto out;
ret = return -EIO
mt7615_mutex_acquire(ev)
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}
ret=mt7615_mcu_set_chan_info(phy, MCU_EXT_CMD(SET_RX_PATH (tjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
gotojava.lang.StringIndexOutOfBoundsException: Range [22, 7) out of bounds for length 12
M tjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
timeout} if
if (!running)
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
out:
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
= =mt7615_mcu_set_pm if et
out; } if(java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 12
retjava.lang.StringIndexOutOfBoundsException: Range [3, 1) out of bounds for length 10
delete_sync(hyroc_timer;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ret =t76_connac_mcu_set_rate_txpowerhymt76)java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 52
cancel_work_sync&java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ret = mt7615_mcu_set_chan_info(phy,MCU_EXT_CMD ret_ac_reset_counters();
mt7615_mutex_acquire(dev mt7615_mutex_releaseif ( if (ret)
staticvoid mt7615_stopstructgoto out;
clear_bit(java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 0
&hy>;
if (phy != &dev->phy) {
mt7615_mcu_set_pm( 11if ret)
ieee80211_queue_delayed_work(hw, &phy->mt76->java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 12
}
if (!devjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
mt76_connac_mcu_set_mac_enable(dev-mt76,0falsefalse)java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
mt7615_mutex_release(dev)
}
staticinlineint get_free_idxu32 java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 1
{
cancel_delayed_work_sync(phy>mt76-mac_work);
}
static timer_delete_sync(&java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
{ int i;
switch (ype
java.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 0 /* prefer hw bssid slot 1-3 */
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
()
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [0, 3) out of bounds for length 1
REPEATER_BSSID_MAXjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 1
)
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 1
i mt7615_mcu_set_pm(dev
mt76_connac_mcu_set_mac_enable(ev-t76,,falsefalse)
i -1
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
hw bssid 1-*java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 32
return1java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
break; default: WARN_ON(1); iet_free_idx(mask,EXT_BSSID_1,EXT_BSSID_MAX); java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
icmt7615_add_interface(java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 32 ieee80211_vif*vif) { structmt7615_vif*mvif=(structjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 24 truct struct ieee80211_vifstructvifjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30 structstructmt7615_phy* 6txqstruct bool ext_phy = phy != &dev->phy intidx,ret=0}
mt7615_mutex_acquire(dev);
mt76_testmode_reset(vif>addr))
if(vif->type==NL80211_IFTYPE_MONITOR&& java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 27
mvif->mt76.idx=Pjava.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 53 m-t76dx=java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 8 -java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47 java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11 }
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 (0{ ->.wmm_idxif-!NL80211_IFTYPE_AP; out; }
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
mvif->if(vif-xq)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 mvif-t76.vifype! mvif->java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 9 if(ext_phy) mvif->mt76java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
dev->mt76.vif_mask|=BIT_ULL(java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 0 > ->java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 16
ret=java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 8 if(et) gotojava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [31, 15) out of bounds for length 43 >dev>&IT_ULL(mvifmt76.; java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
mt7615_mcu_add_bss_info, java.lang.StringIndexOutOfBoundsException: Range [43, 40) out of bounds for length 42
if (vif =mjava.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 29 ifjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 1 mtxqmt76_txq>- }
ret=phy->omac_mask &= mvif-
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 15
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 12
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 1 =java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 { mt7615_vif*structp; structmvif->mt76.wcid =-.cid; struct*(); structmt7615_phy*phy=mt7615_hw_phy(hw); phy>java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [25, 21) out of bounds for length 27
(java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 0 if(vifrcu_assign_pointer phy->;java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 19
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
d-m:
u8XPORT_SYMBOL_GPLmt7615_set_channel; java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0 &~(mt76.)java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
struct mt7615_phyphy=struct mt7615_vif *mvif = (structf)if->java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
intidx=msta->cid.(-ype=NL80211_IFTYPE_ADHOC| if(!list_empty(&msta->wcid.mt7615_mcu_sta_add(phy, vif, NULLsoftwarekeycipher=WLAN_CIPHER_SUITE_CCMP)& list_del_init(&msta->java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
mt76_wcid_cleanupevkey>ipher)java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0 { mt7615_phy*=mphy>priv; mt7615_dev*dev=phy->dev; ext_phy=phy!dev->hy; intret;
mt76_connac_pm_wake(phy&ev>pm);
if(java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 ret==mt7615_mcu_apply_rx_dcoc(java.lang.StringIndexOutOfBoundsException: Range [1, 0) out of bounds for length 0 if(ret) otoout;
=java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0 if(mt76_is_mmio&dev-t76) gotooutjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12 }
goto if(ret) gotoout;
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 5 ; if(ret) gotoout;
mt7615_mac_cca_stats_resetphy); t= (int(java.lang.StringIndexOutOfBoundsException: Range [0, 38) out of bounds for length 0 (t){
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0 phy->if!(mt7615_firmware_offload(phy->dev)) phy->chfreq=java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
if(!EXPORT_SYMBOL_GPL(mt7615_set_channel); longtimeout=t7615_get_macwork_timeout(()java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
ieee80211_queue_delayed_work(phy->mt76->hw, &hy>mt76-mac_work,java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 3
return } EXPORT_SYMBOL_GPLif(&IEEE80211_CONF_CHANGE_MONITORF)java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
static&vif->sta; structieee80211_vifif,tructieee80211_sta*sta, structjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 6 { java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0 structmt7615_phy struct*mvif(tructmt7615_vif*)vif->drv_priv; structmt7615_sta*msta=sta?(unsignedlink_id,u16queue, &mvif->mt7615_mutex_acq(dev)java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27 structmt76_wcid*wcid=&msta->wcid; cktoswencryptionforunsupportedciphers*java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57 u8*wcid_keyidx&id>w_key_idx2
/* The hardware does not support per-STA RX GTK, fallback tosoftwaremode thesethese.
*/ if ((java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
viftype=NL80211_IFTYPE_MESH_POINT&
WLAN_CIPHER_SUITE_TKIP ||
key-> band =phy ! &dev>hy
!_ u32 ctl_flags = MT_WF_RFCR1_DROP_ACK return-OPNOTSUPP;
/* fall back to sw encryption for unsupported ciphers */ switch (key->t7615_conf_tx(structieee80211_hw hw java.lang.StringIndexOutOfBoundsException: Range [0, 46) out of bounds for length 26
t7615_mutex_acquire(java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
- conststructieee80211_tx_queue_params *params) break; case WLAN_CIPHER_SUITE_TKIP flags{ case phy-= ~h; java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31 case WLAN_CIPHER_SUITE_CCMP_256: case WLAN_CIPHER_SUITE_GCMP: case phy->rxfilter |!flags java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 27 case java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 9
reak java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
MT_WF_RFCR_DROP_PROBEREQ mt7615_mcu_add_bss_info( java.lang.StringIndexOutOfBoundsException: Range [1, 0) out of bounds for length 0 case : default: return -EOPNOTSUPP java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 20
}q +mvif-mm_idx *MT7615_MAX_WMM_SETS;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
p-n_beacon_vif | !java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 2
(&dev>mt76, wcid,key)java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 26
*wcid_keyidx=-1java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21 goto un inttotal_flags,
staticint MT_WF_RFCR1_DROP_BA const cfg80211_sar_specs*)
{ struct java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
static
=ev
err define(,h)do(hwjava.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 44 if err)
err phy& h) \
( ( ;i< / sizeof(mu; +){
java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 28
return mt76_update_channelphy-mt76;
}
staticint mt7615_configstruct }while ()
{
struct mt7615_devmu_groupposition; struct mt7615_phy *phy = mt7615_hw_phy(hw);boolMT_WF_RFCR_DROP_FRAME_REPORT | boolband =phy =&ev> bool band = phy != &dev->phy MT_WF_RFCR_DROP_PROBEREQ| int76rdev,MT7663_WF_PHY_GID_TAB_POS(and,i) [)java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 #ONFIG_NL80211_TESTMODE
y-t76test. =MT76_TM_STATE_OFF){
mt7615_mutex_acquire(ev;
mt76_testmode_reset(phy->mt76 u64changed)
mt7615_mutex_acquire structmt7615_dev *ev mt7615_hw_dev(;
}
ret=mt76_update_channel(phy
}
if (changed BSS_CHANGED_ERP_SLOT) java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
if (x_acquiredev)
mt76_testmode_reset if (slottime != phy-slottime
phy--java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0 if(hw-onf &EEE80211_CONF_MONITOR)java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 49
phy- else
mt7615_mac_enable_rtscts( phy>java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
}
mt7615_mutex_release(dev);
MT_WF_RFCR_DROP_A3_BSSIDL true)
}
static mt7615_firmware_offload(dev) & vif->java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 7615_onf_txstructieee80211_hw *w } unsignedint link_id, u16 queue, const
{ struct mt76_vif_link *mvif struct MT76_FILTER(,MT_WF_RFCR_DROP_CTS | int err;
staticvoid struct mt76_vif_linkstruct mt7615_firmware_offload(dev) unsignedintstruct mt7615_vif *mvif = (struct mt7615_vif * structjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0 if(&SS_CHANGED_ASSOC)
u64 multicast)
{ struct *dev =mt7615_hw_dev(hw); struct * else
=&dev-phy;
ctl_flags mt7615_update_mu_group(hw,vif
|
|
MT_WF_RFCR1_DROP_CFEND
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
u32 5channel_switch_beacon(truct ieee80211_hw *w,
mt7615_mutex_acquire( struct mt7615_vif*mvif =(truct mt7615_vif *)vif-java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 42
define (_flag h)do{\
flags |= *total_flags & FIF_##_ struct mt7615_dev *ev=mt7615_hw_dev(hw)
phy- mt7615_dev *ev} if (!static void mt7615_configure(truct ieee80211_hw *hw,
-rxfilter| !lags&FIF_##unsignedint changed_flags,,
} mt7615_mutex_release()java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
phy>rxfilter &= multicast)
MT_WF_RFCR_DROP_FRAME_REPORT |
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 1
u32 mu;
|
MT76_FILTER(CONTROLmu =(32 *)nfo>java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 22
MT_WF_RFCR_DROP_RTS |
MT_WF_RFCR_DROP_CTL_RSV |
MT_WF_RFCR_DROP_NDPA);
total_flags= flags if (is_mt7663(&evm_wake(y>76 dev>pm;
(, MT_WF_RFCR(band),phy->rxfilter);
if eturnerr;
mt76_clear( phy->rxfilter|=( else
mt76_set(dev,MT_WF_RFCR1(band) ctl_flags)ta>dls) {
staticvoid
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ieee80211_bss_conf * MT_WTBL_UPDATE_ADM_COUNT_CLEAR);
{
M err=mt7615_mcu_sta_add(& struct ieee80211_bss_conf *, struct mt7615_dev *dev = mt7615_hw_dev(hw) u64 changed
= mvif>mt76.band_idx;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
for
(dvmt76)
java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 0
mt76_wr(ev MT_WF_PHY_GID_TAB_VLD(band, i, mu int slottime=info-use_short_slot ?9:20java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
struct mt7615_sta *msta =(truct java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 34 for ( if (is_mt7663(&dev->mt76) MT76_FILTER(OTHER_BSS,MT_WF_RFCR_DROP_OTHER_TIM |
mt76_wr(dev, java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 28 else
mt76_wr(dev, = mvif->mt76.band_idx ? mt7615_ext_phy &ev-> }
}
}
staticvoid mt7615_bss_info_changed if (changed &java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 0 struct ieee80211_vif struct ieee80211_bss_conf *nfo,
u64 changed)
{ struct if (changed if (vif->type == NL80211_IFTYPE_STATIONsta>tdls) struct mt7615_mcu_add_bss_info,vifjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 30
mt7615_mutex_acquire(dev);
if (changed & if (mt7615_firmware_offload(dev) intif(otal_flags mt76_connac_mcu_set_p2p_oppps(hw, vif);
if (slottime != phy->slottime) list_del_init(msta(band)ctl_flags)java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
spin_unlock_bh(&mdev-> if (changed & (BSS_CHANGED_BEACON
;
}
}
ifjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 void mt7615_sta_rate_tbl_update(struct ieee80211_hw *w,
(hangedstruct mt7615_vif *mvif = (struct mt7615_vif *)vif->drv_priv;
mt7615_mcu_add_bss_info(phy struct (hanged&BSS_CHANGED_ARP_FILTER) &&
mt7615_mcu_sta_add(phy, vif, java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 1
if ( mu = (u32 *)infomu_group.membership;
_set_p2p_oppps(hw,vif;
int;
( info)java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
BSS_CHANGED_BEACON_ENABLED))
mt7615_mcu_add_beacon(dev,w vif,info->able_beacon)java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
( =0;<ARRAY_SIZE(-rates);java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 if(anged &SS_CHANGED_PS)
mt76_connac_mcu_set_vif_ps(&dev->mt76, vif);
if & BSS_CHANGED_ARP_FILTERjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
mt7615_firmware_offload(ev){
truct *mvif ;
java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 19
info)
if)
mt7615_mac_set_beacon_filter(phy, vif, vif->
if (changed & BSS_CHANGED_MU_GROUPS)
workerstructjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
mt7615_mutex_release(dev)
}
staticvoid
struct mt7615_dev *dev queue_work(ev->mt76.,&dev-pm.ake_work); structstruct mt7615_phy *phy = mt7615_hw_phy(hw); struct mt7615_mutex_acquire(devjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{ struct mt76_connac_pm_unref(&dev->mphy, &dev- mt7615_mutex_acquire slottime =info-> int slottime = info->use_short_slot
mt7615_mcu_add_beacon;
mt7615_mutex_released)java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
ntmt7615_devev=mt7615_hw_dev(hw);
}
mt7615_mac_sta_add(struct java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
if( struct ieee80211_vif * struct ieee80211_vif *vif
{ structmt7615_dev * = container_of(mdev,struct mt7615_dev,mt76); structmt7615_sta msta=NULLjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32 struct mt7615_vif if (ontrol-sta){ struct msta = (struct mt7615_sta *->ta>rv_priv int idx,java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 2
msta &err;
msta->vif = wcid = &msta->wc;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 2
msta->wcid.if (mt76_connac_pm_re if (dx<0)
msta-wcid.hy_idx =mvif-mt76.band_idxjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
phy = mvif->mt76.band_idx ? mt7615_ext_phy(dev) : &devjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
err =mt76_connac_pm_wake(phy-mt76,&ev>msta-vif=mvif; if (err) return err;
if skb_set_queue_mapping(kb msta-wcidphy_idx=mvif>mt76.band_idx;
err = java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0 if ( return err;
}
mt7615_mac_wtbl_update(dev, idx,
java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 2
= tatic mt7615_set_rts_threshold(struct ieee80211_hw *hw, int radio_idx, if (err)
java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 9
return mt7615_mutex_release(dev);
}
java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 0
void mt7615_mac_sta_remove(truct & !java.lang.StringIndexOutOfBoundsException: Range [0, 48) out of bounds for length 34
*sta)
{ structmt7615_mutex_release(dev); struct mt7615_sta *
err; struct mt7615_phy *phy;
return err;
phy = mvif->mt76.band_idx ? java.lang.StringIndexOutOfBoundsException: Range [0, 43) out of bounds for length 0
mt76_connac_pm_wake(phy-t76,d>m;
spin_lock_bh(&mdev returnerr; if (!list_empty(&msta->wcid.poll_list))
java.lang.StringIndexOutOfBoundsException: Range [17, 0) out of bounds for length 0
dev>sta_poll_lock)
void java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 struct java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0
{ struct mt7615_dev *devswitch (ction){ structmt7615_phy *phy = case IEEE80211_AMPDU_RX_START: struct mt7615_sta *msta msta->wcid.idx = id; struct struct ieee80211_sta_rates int i;
ifcase IEEE80211_AMPDU_RX_STOP: return;
(devmt76.; for (i = IEEE80211_AMPDU_TX_OPERATIONAL
msta->rates[ mtxq-> err = mt7615_m=mt7615_mcu_add_bss_info(phy, mvif =( java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 62
msta->rates[i].count = sta_rates->rate ssn*java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
msta-rates[java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 57
void mt7615_tx_worker(struct mt76_worker *w)
{ struct mt7615_dev *dev =container_of mt7615_mac_wtbl_update ->java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
mt76.tx_worker MT_WTBL_UPDATE_ADM_COUNT_CLEAR)java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42 if mtxq-ggr=false; if (!mt76_connac_pm_ref(&dev- ret=mt7615_mcu_add_tx_ba(dev, params, false);
ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); return;
}
mt7615_mutex_release(dev)java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
mt76_connac_pm_unref
}
staticvoidiferr) if returnnt struct sk_buff *skb)
{ struct mt7615_dev *dev = mt7615_hw_dev(hwreturn err; struct mt76_phy *mphy = hw->privjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 80211_(java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 0 struct java.lang.StringIndexOutOfBoundsException: Range [0, 21) out of bounds for length 0
} struct mt7615_sta *msta = NULL;
qidjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
c-s
msta = (struct
&stat7615_get_stats(truct ieee80211_hw
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
if (vif struct mt7615_phy*hy=mt7615_hw_phy hwjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
fvifjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
mvif t7615_mutex_acquirephy>devjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
statsdot11RTSSuccessCount =mib->ts_cnt;;
int iijava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
}
stats-java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 16
mt76_tx(mphy, stats> mt7615_mcu_add_bss_info(phmt7615_mcu_add_bss_info( return;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
}
qid=skb_get_queue_mapping(skb;
java.lang.StringIndexOutOfBoundsException: Range [0, 3) out of bounds for length 1
atic u64
skb_set_queue_mapping(skb,id;
}
msta struct mt7615_dev dev=mt7615_hw_dev(hw)
}
static msta>java.lang.StringIndexOutOfBoundsException: Range [13, 13) out of bounds for length 0
u32 val)
{ 615dev*devmac_idx;
ctmt7615_phy *y=mt7615_hw_phy(hw; int err, band = phy {
java.lang.StringIndexOutOfBoundsException: Range [21, 12) out of bounds for length 12
mt7615_mac_set_rates(hy,msta,NULL,msta-rates)java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
mt76_rmw(ev,regjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
tsftsfrn;
mt7615_ampdu_action(struct ieee80211_hw) structfor i mt7615_mutex_release(dev)java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
{java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 enum ieee80211_ampdu_mlme_action java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 11 struct mt7615_dev *dev = mt7615_hw_dev(hw); struct dev=container_of( structmt7615_dev, struct ieee80211_txq *txq = struct *msta mt76..x_worker);
u16 tid = params->tid;
java.lang.StringIndexOutOfBoundsException: Range [0, 4) out of bounds for length 2 struct *mtxq ef&dev>phy,&dev->pm) {
tsf = {.64 =timestamp, queue_work(-mt76. d--m.wake_work)java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
(txq) return -EINVAL
txq (struct java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0
mt7615_mutex_acquire(
switch (action) { case mt76_wrmt76_wr(ev MT_LPON_UTTR0tsf.
mt76_rx_aggr_start(dev-mt76 mt76_wroidmt7615_tx(ieee80211_hw hw
params->buf_size)
ret = .tx_worker) break; case IEEE80211_AMPDU_RX_STOP:
mt76_rx_aggr_stop(&dev->mt76, &mstamt7615_mutex_release(dev);
ret = mt7615_mcu_add_rx_ba(java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 28 break; case IEEE80211_AMPDU_TX_OPERATIONAL:
mtxq->aggr = truestruct mt7615_dev s64timestamp)java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
mtxq->send_bar = false;
ret = mt7615_mcu_add_tx_ba(dev, params, true}
ssn = struct ieee80211_vif *vif
ieee80211_send_bar(vif, structmt76_wcid struct mt7615_dev * =t7615_hw_dev(wjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
IEEE80211_SN_TO_SEQ(sn); break; case IEEE80211_AMPDU_TX_STOP_FLUSH: case java.lang.StringIndexOutOfBoundsException: Range [18, 7) out of bounds for length 44
mtxq->aggr = false;
java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 9 break; case:
ssn = mt7615_mac_get_sta_tid_sn(dev,structmt76_wcid wcid =&
params->ssn reg = idx 1 ?MT_LPON_TCR2
java.lang.StringIndexOutOfBoundsException: Range [1, 0) out of bounds for length 0 break; case IEEE80211_AMPDU_TX_STOP_CONT:
mtxq- msta =(truct mt76_wr(dev, MT_LPON_UTTR1dev MT_LPON_UTTR1, tsf.t32[1]);
ret
ieee80211_stop_tx_ba_cb_irqsafe(
}
mt7615_mutex_release(dev);
}
staticintwcid=& wcid
mt7615_sta_add(structstruct java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 0 struct ieee80211_sta *sta)
{
mt76_sta_state(hw, if (mt76_connac_pm_ref(mphy, &dev) {
IEEE80211_STA_NONE);
}
staticint return; struct
{
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
} =java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 44
stats->}
stats->dot11FCSErrorCount = mib->java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 0
stats-ot11ACKFailureCount = -ack_fail_cnt;
mt7615_mutex_release(y>ev)java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
return0;
}
staticu64 struct ieee80211_sta*sta int,band=phy ! d>;
mt7615_get_tsf(struct ieee80211_hw *hw, struct java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 31
{ struct mt7615_vif *vif (truct mt7615_vif u16 tid=params->tid; struct mt7615_dev *dev = mt7615_hw_dev(hw);
/* TSF read */
mt76_rmwjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
.[]=mt76_rr mt76_rx_aggr_stop(&dev->mt76, &msta->wcid, tid);
tsf, MT_LPON_UTTR1structstruct mt7615_devev=mt7615_hw_dev(w;
mt76_wr(,MT_LPON_UTTR0,
mt76_wr(dev, MT_LPON_UTTR1, tsf /* TSF software overwrite */retvoidjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 47
mt76_rmwd,,MT_LPON_TCR_WRITE
phy=struct )java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 0
}
staticvoid
mt7615_mutex_acquire *
s64 spin_lock_bh(&ph-dev>.)
{ structmt7615_vif spin_unlock_bh(&phy->devm.) struct java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0 union {
u64 t64;
u32 t32[2];
} tsf = { .t64 = return ret=(truejava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
u16 idx =
reg;
>?: java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 49
reg= mtxq>gr java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
staticint
mt76_wr(dev, ret = mt7615_get_stats(struct ieee80211_hw *hw, structieee80211_scan_request struct t7615_mac_get_sta_tid_sn(evmsta>cid.dx,tid)java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
/* TSF software adjust*/mt7615_hw_dev(wjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
MT_LPON_TCR_ADJUST);
mt7615_mutex_release(dev);
}
staticvoid
java.lang.StringIndexOutOfBoundsException: Range [65, 25) out of bounds for length 65
s16 mt7615_mutex_release>)
: struct mt7615_phy *phy = mt7615_hw_phy(java.lang.StringIndexOutOfBoundsException: Range [1, 42) out of bounds for length 1
mt7615_get_tsf(ieee80211_hw*java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
ex_acquire(dev);
phy> t7615_c(truct *w ieee80211_vif*java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
hy);
_utex_releasedev;
}
staticint 80211hw *,int java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 58
u32 tx_ant, u32 rx_antjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{ structret=mt7615_start_sched_scan(struct ieee80211_hw* reg=idx 1?MT_LPON_TCR2 struct*reqjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43 structcaseIEEE80211_AMPDU_TX_STOP_CONT int max_nss = hweight8(hw >ggr{ bool !=&-phy
if (!tx_ant || tx_ant != rx_ant | int.[1] mt76_rr((,MT_LPON_UTTR1); return - if (mt7615_firmware_offload(dev))
if
mt7615_mutex_acquire(dev;
mt7615_mutex_acquire(java.lang.StringIndexOutOfBoundsException: Range [0, 4) out of bounds for length 0
phy->java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 1 if (ext_phy java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
(->chainmask= xjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
u16 idx>.; else
tx_ant <<= 1;
}
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [29, 7) out of bounds for length 29
if (!test_and_clear_bit structjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 1
;
phy>dev;
ieee80211_iterate_active_interfaces(phy->mt76->java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 41
java.lang.StringIndexOutOfBoundsException: Range [31, 25) out of bounds for length 52
mt7615_roc_iter, phy);
ex_releasephy->dev;
ieee80211_remain_on_channel_expired(phy->mt76->hw);
}
{
phy p;
rk(-;
}
0java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
{
uctmt7615_phy*java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
spin_lock_bh&y>-t76lock;
skb = __skb_dequeue(& if (dev->chainmask == 0x
spin_unlock_bh(&phy->dev->mt76.lock);
if java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
k;
rxd =structjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
rxd-eid=java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 10
(java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 0
uct*sta, bool enabled) struct cfg80211_scan_info info = {
.aborted
;
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
}
kb(b;
}
}
staticelse
mt7615_hw_scan( struct ieee80211_scan_request *req
{ struct mt7615_dev *dev )java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27 struct java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0 int err;
/* fall-back to sw-scan */ ifvoids timer_listimerjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47 return1;
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
err = mt76_connac_mcu_hw_scan(mphy,int err =0java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
(ev)
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 1
}
staticvoid
mt7615_cancel_hw_scan(struct ieee80211_hwjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{ struct mt7615_dev *ev (w; struct &>can_work; struct java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
staticint
(w*w *,
cfg80211_sched_scan_request phy-mt76 java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
java.lang.StringIndexOutOfBoundsException: Range [9, 2) out of bounds for length 9
{
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 struct mt76_phy } } int err;
if (!mt7615_firmware_offload} return -EOPNOTSUPPstaticintmt7615_resume(struct ieee80211_hwt32 java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
mt7615_mutex_acquirewrite*
err sched_scan_req(mphy, vif,java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1 if (err<6phymt7615_mutex_releasedev) goto out
staticint
mt7615_stop_sched_scan(struct mt76_phy *mphy = hw
{ struct mt7615_dev *dev = mt7615_hw_dev(hw); struct int err mt7615_mutex_release(dev)java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
if (!} tsf = { java.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 31 return -EOPNOTSUPP;
IEEE80211_IFACE_ITER_RESUME_ALL
r ?HW_BSSID_0:dx
mt7615_mutex_release
return err;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
static struct ieee80211_vif
int0;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
{ struct java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0 int mt7615_dev *
if (java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 1 0java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
t7615_set_coverage_classjava.lang.StringIndexOutOfBoundsException: Range [47, 45) out of bounds for length 65
err = mt7615_mcu_set_rocmphy cfg80211_gtk_rekey_data *) if (err < 0) {
clear_bit(MT76_STATE_ROC, &phy-
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 11
}
staticint mt7615_cancel_remain_on_channel(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
{
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 2
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
staticvoid mt7615_sta_set_decap_offload(struct java.lang.StringIndexOutOfBoundsException: Range [48, 60) out of bounds for length 1 struct ieee80211_vif *vif, structieee80211_sta *sta, bool enabled)
{ struct mt7615_dev *dev = mt7615_hw_dev(hw)} struct mt7615_sta *msta = (struct mt7615_sta *)sta
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
if (enabled)
set_bit(MT_WCID_FLAG_HDR_TRANS, &msta->wcid.flags); else
clear_bit(MT_WCID_FLAG_HDR_TRANS, &msta->wcid.flags);
mt7615_mcu_set_sta_decap_offload(dev, vif, sta);
(ev
}ieee80211_iterate_active_interfaces(hw,
#ifdef CONFIG_PM staticint mt7615_suspend(struct ieee80211_hw *hw, struct java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
{ structhy =(java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44 struct mt7615_dev *dev = java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 27 int err = 0;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
( < 0 java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
mt7615_mutex_release(dev); return err;
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 3
}
clear_bit(java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 1
ieee80211_iterate_active_interfaces(hw,
mt7615_mutex_acquire(dev);
struct ieee80211_vif ieee80211_vif vif,
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.