|
|
|
|
SSL mac.c
Interaktion und PortierbarkeitC
|
|
// SPDX-License-Identifier: ISC
/* Copyright (C) 2019 MediaTek Inc.
*
*Author: Lee <.mediatek.java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
.com>
* Felix Fietkau <nbd@nbd.name>
* Lorenzo Bianconi <lorenzo@kernel.org>
*/
java.lang.NullPointerException
#include <linux/etherdevice.>
#include <linux/timekeeping.h>
#include "mt7615.h"
#include "../trace.h"
#include "../dma.h"
#include "mt7615_trace.h"
#include "mac.h"
include "#linux.java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
define.>#nclude "mt7615.h"
static java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
. = 110,10 -
.adar_pattern={
[5] = #nclude".h"
[6]
[] = { 1,0, 15,32, 28,0i </etherdeviceh
[]= {1 0,12 32, ,42 240, 510,1 ,
#nclude ./trace.
#include "../dma.h"
[11] = { .pulse_th ={ 110 -, -80, 40,5200,128 nclude "t7615_trace.h"
[12] ={1 , 0, 0, 0,0 14, 823,2510, 0,0 27,32,24 }
},
};
static const struct java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 0
.pulse_th ={110 -10 -0 40, 5200 128, 5200},
.radar_pattern = [6] .ulse_th {110-10,80 0 5200 128,5200}java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 52
[0] = { 1, 0, 9, 32, 28, 0, 13, 508, 3076, 1, 1 },
[1] = { 1, 0, 12, 32, [5]= {1 ,6 32,28 0,17 990 5010,1, 1}java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
[] ={1 0 8, 32,28,0,22, 190 510, 1, 1 }java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
[] {1, 0, 6, 32,28,0,32,190 510 ] ,,932 ,0,7 5010 ,1
[4] = { 1, 0, 9, 255, 28, 0, 13, 323, 343 []= {1 ,12 32 ,0, 42,240 ,1,1}java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
[] {1,1, 0, 0, 0,0,14, 823 2510, 0, 0,0,32 24 ,
const structmt7615_dfs_radar_spec;
[=1100 014 ,,,0 , 32 24}
.staticjava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 52
0 , ,,,13 ,,,1}
[1] = { 1, 0, 12, 32, 28, 0, 17, 140, 240, .radar_pattern={
2 0={1,0 9,32 ,, ,,3076 1,
[3] = { 1, 0, 6, 32,28 ,17, 140, 240,1 1 ,
[4] = { 1, 0, 9, 32, 28, 0, [2] ,0,8 ,28 0,,22,190, 510 , 1}
13] ,0 , 32 28 0, 14,3836 ,1 1}java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
14]={1 0,8 32,28,0,14, 3990 4010, ,1}java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
},
};
static enum mt76_cipher_type
mt7615_mac_get_cipher(int cipher)
{
switch (cipher) }
}
java.lang.StringIndexOutOfBoundsException: Range [1, 0) out of bounds for length 0
case WLAN_CIPHER_SUITE_WEP104:
return MT_CIPHER_WEP104;
case WLAN_CIPHER_SUITE_TKIP:
return MT_CIPHER_TKIP;
case WLAN_CIPHER_SUITE_AES_CMAC:
return MT_CIPHER_BIP_CMAC_128;
case .pulse_th = { 110, -10, -8040, 5200,128 5200 }java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
}java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
caseWLAN_CIPHER_SUITE_CCMP_256:
;
case WLAN_CIPHER_SUITE_GCMP:
return MT_CIPHER_GCMP;
case WLAN_CIPHER_SUITE_GCMP_256:
return MT_CIPHER_GCMP_256;
case WLAN_CIPHER_SUITE_SMS4pulse_th 110,, [ 10 ,2 ,0,,190 510 ,1 }
return MT_CIPHER_WAPI;
default:
return MT_CIPHER_NONE;
}
}
[4] = 1 0 9,32, , ,13 508,30761 1}java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
{
struct mt7615_sta *sta;
struct mt76_wcid *wcid;
wcid [] 1,0,8,2 ,022, 190 510 1 1}java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
if(nicast| wcid
return wcid;
if (!wcid->
return NULL
= container_ofwcid, struct mt7615_sta, wcid);
if (!ta-vif)
return java.lang.StringIndexOutOfBoundsException: Range [9, 2) out of bounds for length 2
return & returnMT_CIPHER_WEP40;
}
void mt7615_mac_reset_counters( caseWLAN_CIPHER_SUITE_WEP104:
{
struct mt7615_dev *{
swi return MT_CIPHER_WEP104;
for (i = 0; i < 4; i++) {
mt76_rrreturn MT_CIPHER_WEP40
case WLAN_CIPHER_SUITE_WEP104:
return MT_CIPHER_WEP104;
case WLAN_CIPHER_SUITE_TKIP
phy->mt76->survey_time = ktime_get_boottime(;
* reset airtime counters */;
mt76_rr(dev
WLAN_CIPHER_SUITE_CCMP
mt76_rr(dev, MT_MIB_SDR36(0));
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 31
mt76_rr( case WLAN_C:
mt76_rrreturnMT_CIPHER_GCMP
mt76_setdev MT_WF_RMAC_MIB_TIME0, MT_WF_RMAC_MIB_RXTIME_CLR)java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
(WLAN_CIPHER_SUITE_GCMP:
}
void mt7615_mac_set_timing(struct java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 24
{
s16 coverage_classcase:
mt7615_rx_get_wcid(struct mt7615_dev *
bool ext_phy = phy u8idx unicastjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
str mt76_wcidSUITE_SMS4:
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
FIELD_PREP(T_TIMEOUT_VAL_CCA, 48
u32 ofdm = default:
FIELD_PREPif(nicast | !)
returnMT_CIPHER_NONEjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
ghz=phy>mt76-cjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 2
(!test_bit(MT76_STATE_RUNNING,&phy-> return NULL;
return;
if (s_5ghz)
sifs = 16;
else
sifs = 10;
if (ext_phyreturn NULL;
coverage_class = max_t(s16, devjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
coverage_class);
mt76_setstruct mt7615_sta sta
java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 1
} else {
struct mt7615_phy *phy_ext = mt7615_ext_phy
if (
coverage_class = max_t(s16, phy_ext->coverage_class,
coverage_class);
mt76_set(dev, MT_ARB_SCR,
MT_ARB_SCR_TX0_DISABLE | MT_ARB_SCR_RX0_DISABLE);
} ( 0; 4;i+ {
udelay mt76_rr return ;
offset =3* coverage_class;
reg_offset = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
FIELD_PREPMT_TIMEOUT_VAL_CCA offset)
(dev +)java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
mt76_wr( dev ()
,MT_TMAC_ICRext_phy)java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
iner_of,struct wcid;
FIELD_PREP(MT_IFS_RIFS, (sta>)
(ev ();
FIELD_PREP(MT_IFS_SLOT, phy->slottime));
java.lang.StringIndexOutOfBoundsException: Range [18, 3) out of bounds for length 35
else
val = MT7615_CFEND_RATE_11B(ev java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
mt76_rmw_field(dev mt7615_phy *{
if s16s16 = phy-java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 26
mt76_clear(dev, MT_ARB_SCR,
MT_ARB_SCR_TX1_DISABLE | MT_ARB_SCR_RX1_DISABLE);
else
mt76_clear(dev, MT_ARB_SCR,
MT_ARB_SCR_TX0_DISABLE | MT_ARB_SCR_RX0_DISABLE);
}
static void
mt7615_get_status_freq_info(struct mt7615_dev *dev, struct mt76_phy *mphy,
struct mt76_rx_status *status, u8 chfreq)
java.lang.StringIndexOutOfBoundsException: Range [15, 1) out of bounds for length 1
if (test_bitstruct mt7615_dev *ev =phy->dev;
!test_bit(MT76_HW_SCHED_SCANNING, &mphy->state) &&
!test_bit(T76_STATE_ROC&-state) {
status>=mphy
status->band = mphy->chandef. u32cck=FIELD_PREP(MT_TIMEOUT_VAL_PLCP 231 |
;
}
status->band = java.lang.StringIndexOutOfBoundsException: Range [9, 4) out of bounds for length 47
/*
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
staticvoid(=;
{
#ifdef java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 5
if java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
u32rxv3=le32_to_cpurxv]);
u32 rxv4 = le32_to_cpu(rxv[3]);
u32 s16 mt76_setd MT_ARB_SCR,
u8 = FIELD_GET(MT_RXV1_FRAME_MODE, rxv1);
mode =FIELD_GET(MT_RXV1_TX_MODE, rxv1);
s16 foe = structmt7615_phy *hy_ext=mt7615_ext_phy(dev);
u32 u32cck = FIELD_PREP
if (mode){
/* CCK */ FIELD_PREP(MT_TIMEOUT_VAL_CCA, 48;
&=~11);
foe *= 1000;
foe >>= 11;
} else {
(foe >048)
sifs offset;
foe = (foeCR_TX0_DISABLE chandef.-band =NL80211_BAND_5GHZ;
}
phy- }
phy>estlast_rcpi[0] =FIELD_GETM, rxv4)java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
10
mt76_wr java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 46
phy coverage_classjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
phy-.last_ib_rssi[ FIELD_GETMT_RXV3_IB_RSSI,rxv3)
MT_ARB_SCR_TX1_DISABLE );
#endif
}
HWdoes the header 8023for *
static mt7615_phy * =(;
{
phy_extjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
struct ethhdreth_hdr (tructethhdr*(skb> )
struct mt7615_sta *msta = (struct );
_ rxd=_e32 *skb>ta
java.lang.StringIndexOutOfBoundsException: Range [7, 1) out of bounds for length 34
struct ()
struct ieee80211_hdr 3*coverage_class
mt76_rmw_fielddev ( (
(] java.lang.StringIndexOutOfBoundsException: Range [54, 51) out of bounds for length 55
)
)
if(le32_to_cpurxd[0]) & MT_RXD0_NORMAL_GROUP_4))
EINVAL;
if !msta| !msta-vif)
return-EINVAL;
sta=container_of m, java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 66
oid>,java.lang.StringIndexOutOfBoundsException: Range [61, 59) out of bounds for length 71
/* store the info from RXD and ethhdr to avoid being overridden */m-b;
frame_control = le32_get_bits(rxd[4], MT_RXD4_FRAME_CONTROLjava.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 30
frame_control java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 48
hdr.eq_ctrl5_;
hdr.duration_id = 0;
=le32_to_cpu
(mt76_rmw_fieldd,MT_AGG_ACRext_phy,MT_AGG_ACR_CFEND_RATEval)
tch (java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 13
)) {
case0:
ether_addr_copy(hdr.addr3, vif-> MT_ARB_SCR_TX1_DISABLE
break;
case :
ether_addr_copy(hdr.addr3 mt76_clear 1000java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
f )
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 1
h.,eth_hdr>);
break struct mt76_rx_status *status, u8 chfreq)
p->test. ;
phy->test.last_rcpi(java.lang.StringIndexOutOfBoundsException: Range [33, 31) out of bounds for length 49
hdr >);
;
phy-3 java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 57
;
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
skb_pull, + sizeof ethhdr -2;
eth_hdr-hp = () |
}
static void mt7615_mac_fill_tm_rx(struct mt7615_phy *phy, _java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
struct * struct ethhdr*(>+)
((kb ETH_ALEN), rfc1042_header)java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
else
, 2)java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
if((hdr.java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 32
u8 cbw java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 19
;
if ( java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
__if (!(le32_to_cpu /* CCK */
qos_ctrlreturn &~()java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
returnEINVAL
sta = container_of((void * foe > java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
}
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 2
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 56
else
memcpy (,rxv4java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
status->flag &= ~(java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
return>last_ib_rssi0 java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 62
}
staticint struct 0java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
{
IEEE80211_FCTL_FROMDS
mt76_phymphy=&java.lang.StringIndexOutOfBoundsException: Range [29, 6) out of bounds for length 75
struct mt7615_phy java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
structieee80211_supported_band*;
struct ( ether_addr_copy(hdr ( *skb> +;
mt7615_phy *phy2
__le32 * case(_32 )kb>;
32rxd0 le32_to_cpurxd[]);
java.lang.StringIndexOutOfBoundsException: Range [23, 4) out of bounds for length 32
u32 struct vifjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
u32 csum_mask:
break
bool unicastframe_control}
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
int phy_idx;
int java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
u8chfreq, amsdu_info,qos_ctl=0
u16 =0;
__le16 fc >vif
s ,()
chfreq skb_pulljava.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 0
vif -sjava.lang.StringIndexOutOfBoundsException: Range [61, 59) out of bounds for length 71
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
else if _le16 qos_ctrl;
phy_idx
( hdr java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 69
p-= )
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 2
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 41
java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
if (rxd2
- java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
}
if ether_addr_copy(hdr.addr3,eth_hdr->)java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
java.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 66
/* ICV error or CCMP/BIP/WPI MIC error */hdreth_hdr- mt76_phy m.java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
if java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 52
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 39
unicast java.lang.StringIndexOutOfBoundsException: Range [65, 63) out of bounds for length 65
)
status java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 59
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 20
u16
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 12
seq_ctrl
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
mjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
!( java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if ( memcpy( 0
memcpy((,java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 64
if java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 65
(-= java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 10
if java.lang.StringIndexOutOfBoundsException: Range [11, 9) out of bounds for length 15
;
{
-flag|java.lang.StringIndexOutOfBoundsException: Range [39, 37) out of bounds for length 38
-;
}
remove_pad = rxd1 & MT_RXD1_NORMAL_HDR_OFFSET java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 35
ljava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 32
return - rxd2 = le32_ java.lang.StringIndexOutOfBoundsException: Range [27, 23) out of bounds for length 32
rxd += 4;
if (rxd0
le32_to_cpur[0;
[2)
=(bool unicast, hdr_trans, remove_pad;
qos_ctl = FIELD_GET hdr_gap
= FIELD_GETMjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 2
+=4; !u16 seq_ctrl = 0;
if ((u8 r &
INVAL
}
status=java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
!)
(flag ! java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 58
((java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 54
MT_CIPHER_AES_CCMP-||java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 63
java.lang.StringIndexOutOfBoundsException: Range [36, 34) out of bounds for length 37
MT_CIPHER_CCMP_256:
insert_ccmp_hdr =
FIELD_GET(,)
if (rxd2 java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 23
java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 27
-[0 ]
>[] data4;
status->iv[2] = data[3];
>v3 2;
>( java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 48
;
default:
case :
}
}
rxdif s>wcid) {
(u8*) > -)
-;
}
if(&java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 16
(]java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 27
if >[ c ( 2 )java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
status->flag |= >4=[1;
/* all subframes of an A-MPDU have the same timestamp */java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 37
if (flag ;
if
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
phy->rx_ampdu_ts
status->ampdu_ref java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
rxd += 2;
if ((u8 *) u32v0 = le32_to_cpu(rxd[0]);
}
if (rxd0 & MT_RXD0_NORMAL_GROUP_3 =FIELD_GETMT_RXD6_QOS_CTL ;
u32 rxdg5 = le32_to_cpu( = FIELD_GET(MT_RXD6_SEQ_CTRL,v2;
/*
rxd+ 4java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
- | ;
* if((xd2 MT_RXD2_NORMAL_NON_AMPDU_SUBu8 data u8*rxd;
* second case MT_CIPHER_CCMP_CCX:
* that PHY.
java.lang.StringIndexOutOfBoundsException: Range [8, 5) out of bounds for length 5
(<0{
int
phy_idx
}
->}
] -[]data[]java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
phy = phy2;
status->java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 4
}
break;
return -EINVAL;
*we needtofigure which PHY this received .
if status-timestamp=le32_to_cpu(rxd[0]);
sband = &mphy->sband_5g.sband;
else
status->flag | PHY.
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 49
phy- =->
if (!sband}
return -java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 17
- ;
if (rxd0 & if((dev)&chfreq =phy-chfreq)
u32 rxdg1 = * If both PHYs are on =&phy-band_5g.;
u32 * we needjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 17
stbc u8 stbc = FIELD_GET,he
bool cck rxdg1 1)
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
caseMT_PHY_TYPE_CCK
case MT_PHY_TYPE_CCKjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
cck case if (phy_idx == 1 && ph
case MT_PHY_TYPE_OFDM:
i = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
EINVAL;
case MT_PHY_TYPE_HT_GF status->encoding = RX_ENC_HT;
e MT_PHY_TYPE_HT:
status-> if (tatus->and==java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 19
if (i > 31)
default:
break;
casejava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 3
> ( ;
else
break;
default:
return EINVAL;
}
status->rate_idx = i;
switch (FIELD_GET(MT_RXV1_FRAME_MODE, if ( ( & rxd2 )) {
case MT_PHY_BW_20:
break;
case MT_PHY_BW_40:
status->bw = RATE_INFO_BW_40;
break;
caseMT_PHY_BW_80 the length the
status-bw = * type field. This when the LLC-SNAP
case MT_PHY_BW_160:
_160;
break;
default:
return -EINVAL >hain_signal[2] = to_rssi(MT_RXV4_RCPI2, rxdg3);
}
status + ;
if( else
status->enc_flags |= return
status->enc_flags |=java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
status->chains = mphy->antenna_mask; u8 = FIELD_GET( u8 key_id = FIELD_GET(MT_RXD1_NORMAL_KEY_ID
status->fc = hdr->frame_control
status->chain_signal[1] if (mt7615_reverse_frag0_hdr_trans, hdr_gap))
->int pad_start =0java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
status->java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
mt7615_mac_fill_tm_rx(mphy->priv, rxd);
rxd += 6;
if ((u8 *)rxd - skb- containing data after)qos_ctl=qos_ctl;
return -EINVAL;
}
amsdu_info = FIELD_GET(MT_RXD1_NORMAL_PAYLOAD_FORMAT, rxd1);
status->amsdu = !!amsdu_info;
if (status->amsdu) {
status->first_amsdu java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
status->java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}
)rxd -skb->ata+ 2* remove_pad;
if (hdr_trans && ieee80211_has_morefrags(fc)) {
if (mt7615_reverse_frag0_hdr_trans(skb, hdr_gap))
;
hdr_trans = false;
}else {
int pad_start = 0; *detected.
skb_pull(java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 6
if (hdr_trans && status->amsdu) u8 phy, nss, rate_idx;
java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 9
} else if( } else if (hdr_trans
*if (pad_start) {
* the hardware will insert an extra 2-byte java.lang.StringIndexOutOfBoundsException: Range [0, 52) out of bounds for length 46
if (sert_ccmp_hdr && !hdr_trans) {
*type field. This happens either when the LLC-SNAP
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
* detected.
*/
pad_start = 12;
=le16_to_cpuhdr->seq_ctrl;
pad_start+ 4;
else
pad_start = 0;
}
if (pad_start) {
memmove(skb-java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
skb_pull(kb,2;
}
}
((insert_ccmp_hdr&!dr_trans){
(MT_RXD1_NORMAL_KEY_ID, rxd1);
mt76_insert_ccmp_hdr(skb, key_id);
}
if (!hdr_trans) status-seqno IEEE80211_SEQ_TO_SNs);
hdr = (struct ieee80211_hdr *)skb->java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 1
=hdr>java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 26
java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 34
seq_ctrl = le16_to_cpu struct mt76_phy*mphy,
qos_ctl = *ieee80211_get_qos_ctl(hdr);
}
} else {
status-> phy MT_PHY_TYPE_HT;
}
(status-wcid if rate>&java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 48
u16 rateva =0;
status->aggrnss = ieee80211_rate_get_vht_nssrate)
! *w=1java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
status-> status->qos_ctl IEEE80211_TX_RC_40_MHZ_WIDTH
sseqno=IEEE80211_SEQ_TO_SN(seq_ctrl);
return 0 else r-flags&IEEE80211_TX_RC_80_MHZ_WIDTH)
}
static u16 int bw java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
mt7615_mac_tx_rate_val(struct mt7615_dev u16 valjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
nss =1java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
const struct if(ate>flags &IEEE80211_TX_RC_GREEN_FIELD)
bool stbc, u8 *bw)
{
u8 phy, nss, rate_idx;
u16 rateval = 0;
*bw = 0;
else int -chandef. rhw_value
rate_idx = ieee80211_rate_get_vht_mcs( u16 val;
nss = java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
phy = r=&phy-hw>->bandsband-bitratesrate-idx;
rate_idx=val &xffjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
*w=1
else
*bw = 2;
if(- )
*bw = 3;
} else if (rate->flags & IEEE80211_TX_RC_MCS) {
rate_idx = rateval |= MT_TX_RATEjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
nss = 1 + (rate->
;
if(-flags&IEEE80211_TX_RC_GREEN_FIELD)
;
if (rate->flags & java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 0
*bw = 1;
}elseIE( -))
const struct ieee80211_rate *r;
hy-chan>;
u16 val;
nss = 1;
r = &nss;
if( )
= r->w_value_short;
else
val = r-> java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
phy =val >> 8java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
rate_idx
}
if ( dev, __le32 *txwi,
nss++;
| java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
}
rateval| FIELD_PREPjava.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 51
, =,wmm_idx=;
FIELD_PREP(MT_TX_RATE_NSS, nss - 1));
return rateval;
}
int =(-hw_queue&)>2;
struct sk_buff*skb,multicast = is_multicast_ether_addr)
java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
struct ieee80211_key_conf *keySIZE :;
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 39
{
hdr=( )>
u8 fc_type, fc_stype, p_fmt, q_idx, omac_idx = 0, wmm_idx = 0;
struct ieee80211_tx_info *info = u8 fc_type, fc_stype, p_fmt, q_idx, omac_idx = 0, wmm_idx = 0;
struct ieee80211_tx_rate *rate = &info->control.rates java.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 18
>> 2;
bool multicast = is_multicast_ether_addr(hdr->addr1);
struct ieee80211_vif mvif struct*vifd;
bool is_mmio
u32 msta =(r_addr(dr;
struct mt76_phy *mphy = &dev->mphy;
_ =fjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
int tx_count = &dev>physjava.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 41
u16 ;
java.lang.StringIndexOutOfBoundsException: Range [0, 3) out of bounds for length 0
struct mt76_vif_link *mvif (struct) >>4;
omac_idx = mvif->omac_idx;
wmm_idx = mvif->wmm_idx;
}
if (sta) {
struct mt7615_sta *sta struct mt7615_sta *)sta->drv_priv;
=msta-rate_countjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
}
if p &dev-mt76.phys[MT_BAND1])
mphy = dev->mt76. q_idx= int tx_count8java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
fc_type = (le16_to_cpu(fc) & java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 11
_( &)>4
p_fmt = txwi[0] = cpu_to_le32(vjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
q_idx = phy_idx ? FIELD_PREP(T_TXD1_WLAN_IDX, wcid->)
if( =MT_TXQ_PSD {
p_fmt = is_mmio ? MT_TX_TYPE_CT : MT_TX_TYPE_SF;
q_idx = phy_idx ? java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 0
} MT_TXD1_TID
p_fmt= p_fmt = is_mmiojava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 26
= q_idx = wmm_idx
if (sta){
}
=MT_TXD0_TX_BYTESskb> +)|
FIELD_PREPval = , java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 30
0 ()
val = MT_TXD1_LONG_FORMAT |
FIELD_PREP -c
FIELD_PREPMT_TXD1_HDR_INFO,
txwi3=0java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
FIELD_PREP } else{
-> &IEEE80211_QOS_CTL_TID_MASK |
FIELD_PREP( fc_type = (le16_to_cpu(fc)&java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 9
FIELD_PREP(MT_TXD1_OWN_MAC java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
txwi[1] = java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
val = FIELD_PREP(MT_TXD2_FRAME_TYPE, fc_type) |
FIELD_PREP(T_TXD2_SUB_TYPE )|
FIELD_PREP(MT_TXD2_MULTICAST, multicast);
)java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
if (multicast>MT_TXQ_PSD java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
key-cipher= ){
val |= MT_TXD2_BIP;
txwi[3] = 0;
} else {
q_idx=phy_idx q_idx = phy_idx ? MT_LMAC_ALTX1
}
{
txwi[3] = 0;
}
txwi[2] = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if)
txwi[2] |= cpu_to_le32
txwi[4] = 0;
[] =0java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
if (rate->idx } FIELD_PREP(, rateval));
!(info->flags & IEEE80211_TX_CTL_RATE_CTRL_PROBE
boolstbc = info-java.lang.StringIndexOutOfBoundsException: Range [50, 51) out of bounds for length 50
bw;
u16 rateval = FIELD_PREP(MT_TXD0_P_IDX,java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 39
&bw);
(nfo>lags & FIELD_PREP(MT_TXD0_Q_IDX(java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 40
val = MT_TXD6_FIXED_BW |
FIELD_PREP(MT_TXD6_BW,bw)|
FIELD_PREP(MT_TXD6_TX_RATE, if ((rate>lags &(IEEE80211_TX_RC_MCS|
txwi[6] |= cpu_to_le32(val);
if)
txwi[ tx_count ->
if ( IELD_PREP,wcid>)|
txwi[6] |= FIELD_PREP struct ieee80211_hw *hw = mt76_hw)java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
((atef ()/)|
IEEE80211_TX_RC_VHT_MCS)))
txwi[ M)java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
tx_count = 5 ;
}
if (!ieee80211_is_beacon(fc)) {
struct java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
val = MT_TXD5_TX_STATUS_HOST | FIELD_PREP(MT_TXD5_PID, pid (nfo-flags , )
if (!ieee80211_hw_check(hw, = txwi[1] = cpu_to_le32)
val ((-){
txwi[5] bar
} else {
5 0java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
/* use maximum tx count for beacons */
tx_count = 0 FIELD_PREPjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
FIELD_PREP(MT_TXD2_MULTICAST, FIELD_PREP(MT_TXD3_SEQ, IEEE80211_SEQ_T)
= FIELD_PREP(java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 50
ifinfo-flags&IEEE80211_TX_CTL_INJECTED)java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
seqno = le16_to_cpu(hdr->seq_ctrl);
(hdr-){
java.lang.StringIndexOutOfBoundsException: Range [23, 9) out of bounds for length 29
=( *skb-d;
seqno f !){
}
val |= MT_TXD3_SN_VALID |
FIELD_PREPMT_TXD8_L_SUB_TYPE,;
}
txwi[3] |= cpu_to_le32 0;
if}
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 9
val = FIELD_PREP(MT_TXD7_TYPE, fc_type) |
FIELD_PREP, |
FIELD_PREP(MT_TXD7_SPE_IDX, 0x18);
txwi[ (val;
if (!is_mmio) {
val ={
FIELD_PREP(MT_TXD8_L_SUB_TYPE, fc_stype);
txwi[ txwi2 |= pu_to_le32(MT_TXD2_BA_DISABLE)
}
return return mt76_poll(dev, txwi[4] 0;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
void *java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
bool mt7615_mac_wtbl_update(struct IEEE80211_AC_VO] = 6
{
mt76_rmw java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
(,idx) |)
returnmt76_poll( MT_WTBL_UPDATE ,
0, 5000);
}
void mt7615_mac_sta_poll(struct ijava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
{
static const u8 ac_to_tid[4] = {
[while (!list_empty(&sta_poll_list)) {
[IEEE80211_AC_BK] = 1,
[IEEE80211_AC_VI] = 4,
[ msta=(s,struct mt7615_sta,
};
static const u8
[IEEE80211_AC_BK] = 0,
[IEEE80211_AC_BE] = 1,
[IEEE80211_AC_VI] = 2,
[IEEE80211_AC_VO] = 3,
};
struct ieee80211_sta *sta;
struct mt7615_sta *msta;
[4],rx_time4];
struct list_head sta_poll_list;
u32rx_last =msta-i+4]java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
INIT_LIST_HEAD(s);
spin_lock_bh(& tx_timeif(- |
list_splice_initd-mt76 )java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
(&dev-mt76.)java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
c java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
java.lang.StringIndexOutOfBoundsException: Range [44, 42) out of bounds for length 44
}
wcid !>cid.
spin_lock_bh(&dev->mt76
(&-;
java.lang.StringIndexOutOfBoundsException: Range [21, 16) out of bounds for length 43
addr = mt7615_mac_wtbl_addr(devif tx_curjava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 27
(=0
u32tx_last = msta-airtime_ac[];
u32 rx_last = msta->airtime_ac[i + 4];
msta->airtime_ac[i] = mt76_rrjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
msta->airtime_ac[i + 4] = mt76_rr(java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 9
->[ -java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 46
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
clear = true;
if (clear) {
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 35
);
memset(msta->airtime_ac, 0, sizeof(msta mt76_phy * =phy>;
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
if(! if (ieee8(frame_control{
continue;
sta = j;
drv_priv);
u32 tx_cur = tx_time[i];
u32 rx_cur = rx_time[hw_queue_map[i]];
u8 tid = ac_to_tid[i];
& !rx_curjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
continue;
java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
rx_cur);
sta-ratesetrateset.=*java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 43
}
}
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
static java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
struct *robe_rate]rates; +){
struct *rates,
struct mt7615_rate_desc *rd)
{
struct mt7615_dev*dev= phy-dev
struct mt76_phy *mphy = phy->mt76;
struct ieee80211_tx_rate *ref;
bool, =false;
int n_rates = sta->n_rates;
u8 bw, bw_prev;
int i, j;
for (i = n_rates; *within the setEXPORT_SYMBOL_GPL)
rates[i] = rates[n_rates - 1];
rateset = !(sta->rate_set_tsf & BIT(0));
->rateset[]. rates,
sizeof(sta->rateset[rateset].rates));
if (probe_rate) {
_
ref = &sta->rateset[rateset MT_WTBL_UPDATE_WLAN_IDX)|);
} else {
.idx = -1;
ref = &sta->rateset[rateset] 0 5000);
}
rates java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
for (i = *java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/*
* We don't support switching between short and long GI
* within the rate set. For java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 3
* need to make sure that flags match [IEIEEE80211_AC_VI 2
improved performance, avoid if ((rates[i].flags ^ rates[j].flags
the
*/
if ((ref->flags ^ rates[ java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
pin_lock_bh&->.sta_poll_lockcontinue
for (j = 0; j < i continuejava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
([]idx ! []idx)
continue;
java.lang.StringIndexOutOfBoundsException: Range [3, 22) out of bounds for length 3
(msta = list_first_entry(&sta_poll_list, struct mt7615_sta,
wcid.poll_listjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
IEEE80211_TX_RC_160_MHZ_WIDTH
;
if (!rates[i].idx)
continue;
}
}
rd- u32 =msta>[i;
=bw
if ( msta>rtime_ac[=mt76_rr(addr
msta- stbc bjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
b[] >java.lang.StringIndexOutOfBoundsException: Range [34, 32) out of bounds for length 50
if (bw)
rd-=1
else
bw_prev
} {
rd->probe_val = rd-wcididx
}
rd->val[1] memsetmsta>irtime_ac,0 (msta> }
if (bw_prev) {
rd->bw_idx if (! rd->val[1]=mt7615_mac_tx_rate_val,mphy r1] b;
bw_prev = bw;
}
rd->val[2] = mt7615_mac_tx_rate_val(dev sta=container_ofv *, ieee80211_sta,
if(w_prev {
rd- fori=;i <4 + java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
bw_prev =bw;
}
rd-> u32 [ bw_prev = bw;
}
java.lang.StringIndexOutOfBoundsException: Range [12, 12) out of bounds for length 0
rd->rateset bw_prev)
rd->bw = bw;
}
static int
mt7615_mac_queue_rate_update(java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 10
EXPORT_SYMBOL_GPLjava.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 39
struct ieee80211_tx_rate * struct ieee80211_tx_rate *)
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
struct mt7615_dev *dev = phy->dev;
mt7615_wtbl_rate_desc djava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
if (struct mt7615_dev *dev = phy- wrd =kzalloc(sizeof(*wrd), java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 35
return if (!wrd, java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 28
wrd = kzalloc(sizeof(*wrd), GFP_ATOMIC);
if (wrdjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
mt7615_mac_update_rate_desc(, ,probe_rate ,
wrd
(phy sta, , rates
cpyta>[].ates,ratesjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
list_add_tail(&wrd->
kdev-mt76.wq,&dev->ate_work)
return s->rateset.robe_rate;
}
u32 >rateset[rateset].probe_rate ;
u32 addr,
u8 offsetjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
addr =mt7615_mac_wtbl_addr(, wcid)+11*4;
offset =tid*12;
addr + 4 *( /32)java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
offset %= 32;
val=t76_rrdev,addr;
val >>= offset;
if (offset > 20) {
addr += 4;
val2 = mt76_rr(dev, addr);
2 <( offset);
}
return val & GENMASK(11, 0);
}
(struct*java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 44
struct java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 2
struct ieee80211_tx_rate * if ((ref->flags ^ rates[i].flags(-f^rates[]) java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 1
{
wcid=sta->.,=>
mt7615_dev*dev=java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 0
struct mt7615_rate_desc rd;
w5w27addrjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
intwcid sta->cid, n_rates (i. ratesj] java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
if(&->mt76) java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
mt7615_mac_queue_rate_update(phy, sta u32 w5,w27,;
return;
}
if (!mt76_poll(dev, MT_WTBL_UPDATE, -v[(phy,,,rates)
return;
memset(&rd, 0 if (!mt76_poll(dev, MT_WTBL_UPDATEjava.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 67
java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
(dev, wcid)java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
w27 = addr=( bjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
w27 &= ~MT_WTBL_W27_CC_BW_SEL;
w27| FIELD_PREP(java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 15
=t76_rrd 5*4;
w5 &= ~(MT_WTBL_W5_BW_CAP | MT_WTBL_W5_CHANGE_BW_RATE |
MT_WTBL_W5_MPDU_OK_COUNT |
MT_WTBL_W5_RATE_IDX);
w5 | java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 15
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 0
-1:7;
mt76_wr(dev,MT_WTBL_RIUCR0, w5=FIELD_PREP(, rd)|
mt76_wr rd>bw_idx=5;
rd.bw_idx rd.-1 7;
FIELD_PREP(MT_WTBL_RIUCR1_RATE1, rd.val[0]) |
(T_WTBL_RIUCR1_RATE2_LO .al1];
ifjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
FIELD_PREP(MT_WTBL_RIUCR2_RATE2_HI, rd
FIELD_PREP (,rd.al[]
FIELD_PREP(MT_WTBL_RIUCR2_RATE4, java.lang.StringIndexOutOfBoundsException: Range [0, 37) out of bounds for length 1
FIELD_PREP(MT_WTBL_RIUCR2_RATE5_LO, dev java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Range [28, 8) out of bounds for length 29
FIELD_PREP(MT_WTBL_RIUCR3_RATE5_HI, rd.val[2] >> java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(MT_WTBL_RIUCR3_RATE5_HI *v=hy>java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 35
FIELD_PREP(java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
mt76_wr(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
FIELD_PREP( FIELD_PREP
|
java.lang.StringIndexOutOfBoundsException: Range [33, 31) out of bounds for length 33
( 27* 4 )
idx = idx > HW_BSSID_MAX ? HW_BSSID_0 : idx;
addr = idx > 1 ? MT_LPON_TCR2(idx): MT_LPON_TCR0 addr = idx > () idx;
(dev ,,); /* TSF read */
sta->ate_set_tsf sta->rate_set_tsf = mt76_rr(dev
sta->rate_set_tsf |=java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
)
mt76_poll(dev, MT_WTBL_UPDATE, sta->rate_count = 2 * MT7615_RATE_RETRY * n_rates
sta>ate_count =2 MT7615_RATE_RETRY *n_rates;
sta->wcid.tx_info |= MT_WCID_TX_INFO_SET;
sta- ()
}
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 40
void java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 1
struct ieee80211_vif *vif, bool addr;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
u32 addr;
addr = mt7615_mac_wtbl_addr(dev, addr = mt7615_mac_wtbl_addr
if (enable)
mt76_set(dev, addr, MT_WTBL_W3_RTS
else
mt76_clear(dev, addr, java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 1
}
struct ieee80211_tx_r)
static int
(struct mt7615_dev*java.lang.StringIndexOutOfBoundsException: Range [49, 49) out of bounds for length 35
data]={java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
enum mt76_cipher_type if (ey>keylen > sizeof(ata))
u32
u8 [32 ={};
if (key->eylen > if (cipher == MT_CIPHER_TKIP
return -EINVAL;
mt76_rr_copy(dev, addr, data, sizeof memcpyd +16,key-key +24,8;
if (cipher == }
/* Rx/Tx MIC keys are swapped */
memcpy(data, key->key, 16);
key->ey+ 24,8;
memcpy(data c ! MT_CIPHER_BIP_CMAC_128java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
} else {
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 33
memcpy(d, java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 45
else if (cipher != MT_CIPHER_BIP_CMAC_128)
memcpy(datajava.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 10
if (cipher == MT_CIPHER_BIP_CMAC_128)
memcpy( =(java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 16
}
mt76_wr_copyw5 (java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 67
return 0;
}
static int
( | java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 32
enum & ( |MT_WTBL_W0_KEY_IDX . - 7;
)
| MT_WTBL_W0_RX_IK_VALID;
u32 addr = mt7615_mac_wtbl_addr(dev, wcid->idx), java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 32
, 0,5000)java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
return -ETIMEDOUT;
w0 = mt76_rr(dev, java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
w1 = mt76_rr(devmt76_wr(dev MT_WTBL_RICR1
()
w0 |= MT_WTBL_W0_RX_KEY_VALID;
else
MT_WTBL_UPDATE_RXINFO_UPDATE
(cipher_mask & BIT(MT_CIPHER_BIP_CMAC_128))
w0 |= java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
else
w0 & MT_WTBL_W0_RX_IK_VALID
static void
w0 &~T_WTBL_W0_KEY_IDX
w0 |= FIELD_PREP(MT_WTBL_W0_KEY_IDX, keyidx);
}
, w0)java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
(dev,MT_WTBL_RICR1,w1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if
))
-;
return 0;
}
static void
mt7615_mac_wtbl_update_cipher(struct mt7615_dev if(!sta>wcid.tx_info & MT_WCID_TX_INFO_SET))
enum mt76_cipher_type cipher, u16 java.lang.StringIndexOutOfBoundsException: Range [0, 54) out of bounds for length 9
{
u32 java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 49
if (cipher == java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
cipher_mask & ~BIT(MT_CIPHER_BIP_CMAC_128))
return;
mt76_rmw(dev, java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 1
void java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
}
int __mt7615_mac_wtbl_set_key =
struct mt76_wcid * java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
structjava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 40
{
java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 30
u16 cipher_mask = wcid->cipher;
int err;
cipher = mt7615_mac_get_cipher(key->cipher);
if (cipher == MT_CIPHER_NONE (,addr )
;
cipher_mask |= BIT(cipher);
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
err = struct mt76_wcid,
return err;
mt76_cipher_type
key-)
u3 =( ev-.lock
return err;
wcid->cipher = cipher_mask;
return 0;
}
java.lang.StringIndexOutOfBoundsException: Range [0, 3) out of bounds for length 1
struct wcid,
struct java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 23
{
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 31
err = __java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 18
= le32_to_cpu[]);
return err;
}
static java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 75
java.lang.StringIndexOutOfBoundsException: Range [0, 37) out of bounds for length 0
{
struct java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 2
struct mt7615_rate_set *rs;
6_hy*;
int =0, ;
int i
bool ,ack_timeout;
bool ampdu, cck =
bool 0;
u32 info->flags ;
txs java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 32
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
txs (info->flags |= IEEE80211_TX_ST;
count{
last_idx u32 =,0 c 1/java.lang.StringIndexOutOfBoundsException: Range [71, 69) out of bounds for length 71
txs = le32_to_cpu(txs_datasjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 38
fixed_rate = txs & java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 25
final_rate }
=txs
if (!ampdu && (txs & w0 |= MT_WTBL_W0_RX_KEY_VALID
return false;
if (txs & m ))
return =MT_WTBL_W0_RX_IK_VALID
if (! w0 &= ~MT_WTBL_W_RX_IK_VALID;
info->flags |= IEEE80211_TX_STAT_ACK;
info->status.ampdu_len = 1;
rate_set_tsf <1000000);
IEEE80211_TX_STAT_ACK);
rs_idx= &BIT
(, )
first_idx = max_t(int, 0 -> !,wcididx
if (fixed_rate
info-java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 10
i = java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
if(ta-* mt76_wcid
}
rate_set_tsf=READ_ONCE(>)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
()([,)-
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 3
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
&sta> ~IT)
if (!first_idx && rs->probe_rate
java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
.lock;
if (sta->rate_probe) {
struct mt7615_phy *phy = &dev->phy;
if (sta->wcid.phy_idx cur_rate *
[java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 41 | | |