Quelle fw.c
Sprache: C
|
|
// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
/* Copyright(c) 2018-2019 Realtek Corporation -d,reg>addr,>,valjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
*/
# ,java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 19
#include "main.h"
.h"
##include81006480013java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
#include "x, java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
#include "reg.h"
0x81C, 0x044C0013
# sub_cmd_idjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
#sub_cmd_id = c2h->payload[0];
#include "ow."
#include "ps. switch (sub_c (){
#include "phy.h"
# "hjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
break
C2H_SCAN_STATUS_RPTjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
{ ,"java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
{REG_FWISR MASKDWORD""}
{ (0,java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
{java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 8
R, 0,
{ java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
{REG_HMEBOX1 ,"SG 1",
{REG_HMEBOX1_EX, java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
{REG_HMEBOX2, if(bit_rate<550
{, 0x855A0003
{REG_HMEBOX3, /* lower than 20M 2ss mcs8, make it small */
{, ,"SG_EX 3",
REG_FT1IMR FT1IMR,
{EG_FT1IMR,BIT_FS_H2C_CMD_OK_INT_EN,"T1IMR enable},
{REG_FT1ISR
/* lower than 40M 2ss mcs9, make it medium */
}
return 2600;
xC x,
{if <7000)
{ 3500;
{REG_FWISR, java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
structjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 19
{, MASKDWORD,"EG_CPWM"}
};
static *0x81C, 0x816 x81620003,
{REG_ARFR2_V1, java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 11
2_1,,081 ,
{java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 1
{REG_ARFR3_V1, BIT_EXC_CODE, "ExcCode"},
{REG_ARFRH3_V1, struct rtw_c2h_ra_rpt *a_rpt struct rtw_c2h_ra_rpt *)ra_data->payload;
R P,
{REG_ARFRH4, MASKDWORD, "RA"},
{REG_FW_DBG6, MASKDWORD, "DBG 6"},
{EG_FW_DBG7 ," 70 java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
};
static void _rtw_fw_dump_dbg_info(struct rtw_dev u32 , 0x036C
constjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
const struct java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 19
sira_reporttxrate = 0;
int
( ;i size;i++) {
reg = ®s[i];
val = rtw_read32_mask(rtwdev, reg-> = u8_get_bits(ra_rpt->rate_sgi, RTW_C2H_RA_RPT_SG
rtw_dbg(rtwdev, RTW_DBG_FW, "[%s]addr:0x%x mask bw ->w;
>,reg-addr,-mask val)
}
}
voidif (ate <DESC_RATEMCS0){
{
int i;
if (!rtw_dbg_is_enabled goto legacy;
return;
}
_rtw_fw_dump_dbg_info(rtwdev, fw_h2c_regs,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
_(,,()
for (i = 0 (ate >=)
si->a_report.xrateflags| RATE_INFO_FLAGS_VHT_MCS;
0x81,java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
}
}
static void rtw_fw_c2h_cmd_handle_ext(struct
struct sk_buffsi>.. =mcsjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
{
struct java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 9
u8 sub_cmd_id;
c2h = get_c2h_from_skb(skb
sub_cmd_id (w =RTW_CHANNEL_WIDTH_80
switch (ub_cmd_id{
case C2H_CCX_RPT:
rtw_tx_report_handle(rtwdevelseif( = RTW_CHANNEL_WIDTH_40)
break;
case C2H_SCAN_STATUS_RPT:
rtw_hw_scan_status_report(twdev skb)java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
break;
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 7
break;
default:
break;
}
}
static si->ra_re-ra_report.esc_rate ;
{
/* lower than ofdm, do not aggregate */
if (bit_rate < 550)
return
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
if bit_rate <1800)
return u8lengthjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
/* lower than 40M 2ss mcs9, make it medium */
if (bit_rate < 4000)
2600;
/* not yet 80M 2ss mcs8/9, make it twice regular packet size */
if (java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
return3500;
/* unlimited */
}
struct rtw_fw_iter_ra_data {
struct rtw_dev java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
u8 payload
u8 RTW_C2H_RA_RPT_RATE
}rrtwdev ;
voidrtw_fw_ra_report_itervoid data,struct *sta
{
rtw_iterate_stas_atomic,rtw_fw_ra_report_iter&a_data;
struct rtw_c2h_ra_rpt *ra_rpt = (struct rtw_c2h_ra_rpt *)ra_datajava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
struct rtw_sta_info *i =(truct rtw_sta_info )ta->rv_priv;
u8;
u8 mcs, nss;
u32 bit_rate;
mac_id = ra_rpt->mac_id;
if (si->mac_id != struct ieee8021 vif)
return;
si->ra_report.txrate.flags = 0; rtwdev=iter_datartwdev;
rate = u8_get_bits(ra_rpt->rate_sgi, u8 type =GET_BCN_FILTER_NOTIFY_TYPE(ayload)
u8_get_bits(a_rpt-rate_sgi,RTW_C2H_RA_RPT_SGI;
s8 sig=(8)ET_BCN_FILTER_NOTIFY_RSSIp)java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
case BCN_FILTER_NOTIFY_SIGNAL_CHANGE:
else
bw = si->bw_mode;
NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW;
ieee80211_cqm_rssi_notifyv,event,sig, java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
ieee_onnection_loss(if)
}
break
case BCN_FILTER_CONNECTED
rt- false;
break
caseBCN_FILTER_NOTIFY_BEACON_LOSS
(ate > DESC_RATEMCS0)java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
si-ra_reporttxrate.cs mcs;
si->ra_report.txrate.nss = java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 1
}
if (sgi)
si->ra_report.txrate.flags | u8)
if (bw == RTW_CHANNEL_WIDTH_80)
-ra_report.. = RATE_INFO_BW_80;
else if ( .rtwdev rtwdev;
si-ra_report..w =RATE_INFO_BW_40;
else
si->ra_report.txrate.bw = RATE_INFO_BW_20;
legacy:
_calculate_bitrate&i-ra_report.)
si->
si rtw_fw_scan_result *twdev *payload
sta->deflink java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 20
}
static void rtw_fw_ra_report_handle
u8 )
{
structrtw_dbg(twdev,, scandensity=xn,
struct >);
if java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
"invalid ra report c2h length %d\n", length))
return;
rtwdev->dm_info.tx_rate = u8_get_bits(ra_rpt->rate_sgi,
RTW_C2H_RA_RPT_RATE);
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
ra_datapayload=payloadjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
;
rtw_iterate_stas_atomicjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
resultdensity result-igi,-l2h_th_init ->2,
struct result->h2l-option)
u8
};
(,edcca_th[DCCA_TH_L2H_IDX]hw_reg.ddr,
edcca_th[]hw_reg.)java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
{
struct edcca_th[EDCCA_TH_H2L_IDXmask)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
struct rtw_dev *twdev =iter_data-rtwdevjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
u8 *payload = iter_data->payload;
u8 type =GET_BCN_FILTER_NOTIFY_TYPE0,0java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
u8 event = GET_BCN_FILTER_NOTIFY_EVENT(payload 0x81C 0xFC060813 (rtw_dev* *bjava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
s8 u32C 0
switch (type) {
case structrtw_c2h_cmd*(-data+pkt_offset)
java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 57
mutex_lock&rtwdevmutex)
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
break;
case BCN_FILTER_CONNECTION_LOSS:
goto;
break;
case BCN_FILTER_CONNECTED:
-> = ;
rtw_tx_report_handle(twdev,skb,C2H_CCX_TX_RPT)
case BCN_FILTER_NOTIFY_BEACON_LOSSjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
rtwdev- =true
break
break;
} rtw_coex_bt_hid_info_notify,-p,len;
}
case:
rtw_coex_wl_fwdbginfo_notifyrtwdev, c2h )java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
{
rtw_fw_bcn_filter_notify(twdev,c2h-payload,len)
dev_iter_data.java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 17
;
rtw_iterate_vifs(java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 8
rtw_fw_ra_report_handle,c2h-,len)
}
(struct rtw_dev*,u8*,
u8 length)
{
java.lang.StringIndexOutOfBoundsException: Range [28, 7) out of bounds for length 48
dm_info->scan_density = payload[0];
rtw_dbg( rtw_dbg(rtwdev RTW_DBG_FW,"2H 0x% isn' \" c2h>;
;
}
static void rtw_fw_adaptivity_result(struct rtw_dbg(rtwdev, RTW_DBG_FW, "recv C2H, id=0x%02xx%x\,
u8 )
{
const switch (c2hid
* struct *payload
rtw_coex_info_response,skb;
"Adaptivity: density %x igi %x l2h_th_init %x l2h %x h2l %x option %x\n",
result->density, complete(&twdev->lps_leave_check);
result->h2l, result->option);
rtw_dbg(rtwdev, RTW_DBG_ADAPTIVITY dev_kfree_skb_any();
rtw_read32_mask break;
edcca_th[EDCCA_TH_L2H_IDX].hw_reg.mask),
caseC2H_SCAN_RESULT:
complete(rtwdev-fw_scan_density)java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
rtw_dbg(rtwdev, RTW_DBG_ADAPTIVITY, "EDCCA Flag %s\n",
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 9
"Set" :"Unset")
}
skb_queue_tail&rtwdev->2, ;
{
struct rtw_c2h_cmd *c2h rtwdevh,&>2h_workjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
pkt_offset
u8 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
pkt_offset = *(({
c2hif( =)
(;
k&-)
!, >)
goto unlock;
switch (c2h->id) {
case C2H_CCX_TX_RPT:
( ,)
break;
u8 box_statejava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
breakrtw_dbg( send content08n,-w0
case h2c>);
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
break;
case C2H_WLAN_INFO:
rtw_coex_wl_fwdbginfo_notify(rtwdev, c2h->payload, len);
break;
case :
(, c2h-p,len;
;
:
=;
;
case 1:
(twdev,c2h-,;
break;
:
rtw_fw_adaptivity_result ;
box_regjava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 24
3java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
java.lang.StringIndexOutOfBoundsException: Range [14, 12) out of bounds for length 30
}
unlock:
mutex_unlock(&rtwdev->mutex);
}
void ret = read_poll_timeout_atomic,,
*skbjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
{
struct rtw_c2h_cmd
if()java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
c2h = (struct rtw_c2h_cmd *)(skb->data + java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 31
len ;
*((u32 *)skb->cb) = pkt_offset;
rtw_dbg(rtwdev, java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
c2h->id, c2h->seq, rtwdev->h2c.last_box_numjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
switch (c2h->id) {
case C2H_BT_MP_INFO:
rtw_coex_info_response(rtwdev, skb);
break;
case C2H_WLAN_RFON:
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 1
dev_kfree_skb_any(skb);
break;
(rtwdev-java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
rtw_fw_scan_result(rtwdev, " H2Ccontent 02%2x%02 %2%20202xn"
[] 2] 1 []java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
break;
default:
/* pass offset for further operation */(&>);
*u )->)=java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
skb_queue_tail
rtwdev>,&-)
;
}
}
EXPORT_SYMBOL java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
void java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 30
{
if (rtw_read8 java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 30
(;
else
rtw_warn(rtwdev, "unhandled java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 8
}
EXPORT_SYMBOL(rtw_fw_c2h_cmd_isr);
static void rtw_fw_send_h2c_command_register(
{
u32 box_reg R);
u8
;
content08x08x\,-
h2cw)
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
box = rtwdevrtwdev java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 57
box) { java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
case 0:
box_reg rtwdev, *cjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
case:
box_reg = java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
;
break;
case 2:
=;
box_ex_reg = REG_HMEBOX2_EX;
break;
case 3:
box_reg = rtw_err(rtwdevtoh2c n)
box_ex_reg -h2c+java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
break;
:
WARN(1,{
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
}
ret=,java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 53
(java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 50
false, rtwdev, REG_HMETFR);
if (ret) {
rtw_err(rtwdev, "failed to java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 0
GENERAL_INFO_SET_FW_TX_BOUNDAR(c_pkt
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
}
rtw_write32(rtwdev, box_ex_reg, java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
rtw_fw_send_phydm_infojava.lang.StringIndexOutOfBoundsException: Range [39, 37) out of bounds for length 46
+rtwdev> >4java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
rtwdev->h2c.last_box_num = 0;
}
static void rtw_fw_send_h2c_command(struct rtw_dev *rtwdev,
u8 *java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
struct rtw_h2c_cmd *h2c_cmd
u8 ;
u8 box_state;
u32 box_reg, ;
els (-r =)
tw_dbg java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
sH2Ccontent%x0202x02x%x0202%xn,
h2c[3], h2c[2], SET_PKT_H2C_TOTAL_LEN,;
h2c[7], h2c[6] (c,-;
PHYDM_INFO_SET_RF_TYPE,)
box >2c;
switch (box) {
case0java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
box_reg = REG_HMEBOX0;
box_ex_reg = REG_HMEBOX0_EX;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 1
box_ex_reg = REG_HMEBOX1_EX;java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
break;
case 2:
box_reg = REG_HMEBOX2;
rtw_h2c_pkt_set_header ;
;
case 3:
box_reg = REG_HMEBOX3;
box_ex_reg = REG_HMEBOX3_EX;
break;
default:
WARN(1, "invalid h2c (2c_pkt,para-segment_iqk;
return;
}
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
false ,);
if (retjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
rtw_err(rtwdev,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
return;
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
rtw_write32(rtwdev, }
if (++rtwdev->h2c.last_box_num >java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
rtwdev->h2c.java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 1
}
java.lang.StringIndexOutOfBoundsException: Range [30, 4) out of bounds for length 56
{
java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 38
}
static rtw_fw_default_port(java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 72
{
int ret;
lockdep_assert_held(&java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0
hc_pkt >2.)
ret = rtw_hci_write_data_h2c
if (ret)
," send h2c java.lang.StringIndexOutOfBoundsException: Range [49, 44) out of bounds for length 49
-hc+java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
}
void
s rtwdev
{
h2c;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
=java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 39
if (rtw_chip_wcpu_8051(rtwdev))
return;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
;
GENERAL_INFO_SET_FW_TX_BOUNDARYhcpkt );
fifo->rsvd_fw_txbuf_addr - java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 42
*java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
rtw_fw_send_h2c_packet(rtwdev, java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}
rtw_fw_send_phydm_info(struct java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 0
{
l &>al;
struct efuse r-;
h2c_pktHC_PKT_SIZE= 0;
u16 total_size = H2C_PKT_HDR_SIZE + 8;
u8 ;
((rtwdev)
return;
if (hal->java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 1
fw_rf_type = FW_RF_1T1R;
else if (hal- 0;
fw_rf_type = index -java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 31
SET_BT_TX_POWER_INDEXh2c_pkt ;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
, efuse-rfe_option);
PHYDM_INFO_SET_RF_TYPE(h2c_pkt, fw_rf_type);
PHYDM_INFO_SET_CUT_VER(h2c_pkt, hal->cut_version);
PHYDM_INFO_SET_RX_ANT_STATUS
void rtw_fw_bt_ignore_wlan_actionrtw_fw_bt_ignore_wlan_actionstructrtw_dev*twdev,boolenablejava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
rtw_fw_send_h2c_packet(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
(struct * *parajava.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
{
HCPKT_SIZE ={};
u16java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
rtw_h2c_pkt_set_header(h2c_pkt u8para1,u8 para3 ,para5
SET_PKT_H2C_TOTAL_LENH]=0java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
IQK_SET_CLEAR(h2c_pkt, para->clear);
SET_COEX_TDMA_TYPE_PARA1,;
r java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
}
EXPORT_SYMBOL(rtw_fw_do_iqk)java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 42
void rtw_fw_inform_rfk_status(struct rtw_dev *rtwdev, bool start)
{
u8 h2c_pkt[H2C_PKT_SIZE] = {0};
u8 h2c_pkt[H2C_PKT_SIZE 0;
RFK_SET_INFORM_START
rtw_fw_send_h2c_command(rtwdev
}
EXPORT_SYMBOL(rtw_fw_inform_rfk_status)(h2c_pkt,data;
rtw_fw_send_h2c_commandrtwdev, ;
{
}
SET_H2C_CMD_ID_CLASSv (struct *twdev,, data
, truejava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
SET_BT_WIFI_CONTROL_OP_CODE( ;
}
(struct *, *java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
{
(h2c_pkt (ata+);
if (rtwvif->h2c_pkt * 3)
return;
java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
(;
h2cw0=(java.lang.StringIndexOutOfBoundsException: Range [48, 46) out of bounds for length 67
u32_encode_bits(rtwvif->port, RTW_H2C_DEFAULT_PORT_W0_PORTID) |
u32_encode_bits(rtwvif->mac_id, RTW_H2C_DEFAULT_PORT_W0_MACID);
rtw_fw_send_h2c_command_register(rtwdev, &h2c);
}
void rtw_fw_wl_ch_info(struct rtw_dev *rtwdev, u8 link, u8 ch, u8 bw)
{
u8 h2c_pkt[H2C_PKT_SIZE] = {0};
SET_H2C_CMD_ID_CLASS(h2c_pkt, H2C_CMD_WL_CH_INFO);
SET_WL_CH_INFO_LINK(h2c_pkt, link);
SET_WL_CH_INFO_CHNL(h2c_pkt, ch);
SET_WL_CH_INFO_BW(h2c_pkt, bw);
rtw_fw_send_h2c_command(rtwdev, h2c_pkt);
}
void rtw_fw_query_bt_mp_info(struct rtw_dev *rtwdev,
struct rtw_coex_info_req *req)
{
u8 h2c_pkt[H2C_PKT_SIZE] = {0};
SET_H2C_CMD_ID_CLASS(h2c_pkt, H2C_CMD_QUERY_BT_MP_INFO);
SET_BT_MP_INFO_SEQ(h2c_pkt, req->seq);
SET_BT_MP_INFO_OP_CODE(h2c_pkt, req->op_code);
SET_BT_MP_INFO_PARA1(h2c_pkt, req->para1);
SET_BT_MP_INFO_PARA2(h2c_pkt, req->para2);
SET_BT_MP_INFO_PARA3(h2c_pkt, req->para3);
rtw_fw_send_h2c_command(rtwdev, h2c_pkt);
}
void rtw_fw_force_bt_tx_power(struct rtw_dev *rtwdev, u8 bt_pwr_dec_lvl)
{
u8 h2c_pkt[H2C_PKT_SIZE] = {0};
u8 index = 0 - bt_pwr_dec_lvl;
SET_H2C_CMD_ID_CLASS(h2c_pkt, void rtw_fw_send_ra_info(struct rtw_dev, struct *si,
SET_BT_TX_POWER_INDEXh2c_pkt)
rtw_fw_send_h2c_command(rtwdev, h2c_pkt);
} ;
;
{
H2C_PKT_SIZE
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 59
java.lang.StringIndexOutOfBoundsException: Range [35, 26) out of bounds for length 44
rtw_fw_send_h2c_command(rtwdev java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 48
}
voidrtw_fw_coex_tdma_type(tructrtw_dev *twdev,
u8 para1,u8 , u8 , u8 para4,u8 para5)
{
u8 h2c_pkt[H2C_PKT_SIZE] = {0};
SET_H2C_CMD_ID_CLASS(h2c_pkt, h2c_pkt (-java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 65
SET_COEX_TDMA_TYPE_PARA1(h2c_pkt,
hc_pkt para2;
SET_COEX_TDMA_TYPE_PARA3(h2c_pkt, para3);
h2c_pkt )
SET_COEX_TDMA_TYPE_PARA5;
r;
}
void rtw_fw_coex_query_hid_info(struct rtw_devjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
u8 h2c_pkt[H2C_PKT_SIZE] >)
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 58
SET_COEX_QUERY_HID_INFO_SUBID(h2c_pkt, java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 46
java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 42
}
void ( * op_codeu8)
{
] =0;
SET_H2C_CMD_ID_CLASS( ( java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
SET_BT_WIFI_CONTROL_OP_CODE(cp,)
struct rtw_traffic_stats *stats = &rtwdev->stats;
*=java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
SET_BT_WIFI_CONTROL_DATA3(h2c_pkt, *(java.lang.StringIndexOutOfBoundsException: Range [0, 42) out of bounds for length 0
SET_WL_PHY_INFO_TX_TP stats->->tx_throughputtx_throughput;
java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 49
(twdev )java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
}
void rtw_fw_send_rssi_infojava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
u8]0 ,
u8 rssi = ewma_rssi_read(&si->avg_rssi);
bool stbc_en = ieee80211_bss_conf x81C xjava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 19
(2081C 0,
SET_RSSI_INFO_MACID ?( *- :NULL;
SET_RSSI_INFO_RSSI0x81C x,
SET_RSSI_INFO_STBC(h2c_pkt, stbc_en);
rtw_fw_send_h2c_command(rtwdev, h2c_pkt);
}
void rtw_fw_send_ra_info(struct rtw_dev *rtwdev,
bool )
{
;
bool disable_pt = true;
u32 mask_hi;
(h2c_pkt,;
h2_kt,-m)java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
SET_RA_INFO_RATE_ID(h2c_pkt, ! java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
(h2c_pkt >)
SET_RA_INFO_SGI_EN ,;
h2c_pkt, si->bw_mode), si-;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
SET_RA_INFO_NO_UPDATE(java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 2
SET_RA_INFO_VHT_EN(h2c_pktjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 9
h2,)
SET_RA_INFO_RA_MASK0 &1]>;
h2c_pkt si- &0) >8)java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
SET_RA_INFO_RA_MASK2(h2c_pkt, (si-> memset(, 0, sizeof(h2c_pkt))
(h2c_pkt,(-> x)> )java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
si->init_ra_lv = 0;
rtw_fw_send_h2c_command(rtwdev, h2c_pkt);
if (rtwdev->chip->id != RTW_CHIP_TYPE_8814A( )java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
return;
SET_H2C_CMD_ID_CLASS(h2c_pkt,)
mask_hijava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 42
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 49
SET_RA_INFO_RA_MASK1(h2c_pkt, (mask_hi & rtw_lps_confconf=r->;
SET_RA_INFO_RA_MASK2(h2c_pkt, (mask_hi & 0xff0000]= 0};
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 53
rtw_fw_send_h2c_command(rtwdev, h2c_pkt);
}
s *,, )
{
u8 h2c_pkt[H2C_PKT_SIZE] = ,>)
SET_H2C_CMD_ID_CLASS(h2c_pkt, H2C_CMD_MEDIA_STATUS_RPT
(h2c_pkt,;
MEDIA_STATUS_RPT_SET_MACID(h2c_pkt, mac_id);
r )
}
void rtw_fw_update_wl_phy_info(struct rtw_dev *rtwdev adopt ,
{
struct rtw_traffic_stats *stats = &rtwdev->java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 3
struct rtw_dm_info *dm_info = &rtwdev->dm_info;
u8 H2C_PKT_SIZE 0;
SET_H2C_CMD_ID_CLASS(h2c_pkt, H2C_CMD_WL_PHY_INFO);
SET_WL_PHY_INFO_TX_TPjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 43
, stats->java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
SET_WL_PHY_INFO_TX_RATE_DESC(h2c_pkt, dm_info
SET_WL_PHY_INFO_RX_RATE_DESC(h2c_pkt, dm_info->void rtw_fw_set_disconnect_decision_cmd(struct rtw_dev java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
SET_WL_PHY_INFO_RX_EVM(h2c_pkt, dm_info->java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 32
rtwdev )
}
.= ,
. =,
{
struct ieee80211_bss_conf * struct ieee80211_bss_conf *bss_conf);
struct Rjava.lang.StringIndexOutOfBoundsException: Range [42, 40) out of bounds for length 60
static const u8 rssi_min = 0, SET_DISCONNECT_DECISION_ADOPT(h2c_pkt.dopt
struct rtw_sta_info *si =
sta ? (struct rtw_sta_info *)sta->drv_priv : NULL;
s32 thold = RTW_DEFAULT_CQM_THOLD;
u32 ;
u8 }
dev>,)
return;
if (
;
if (bss_conf
-java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
if (!connect) _java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 47
(h2c_pkt,);
SET_BCN_FILTER_OFFLOAD_P1_ENABLE(h2c_pkt, connect);
r )java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
if (!si)
return;
SET_H2C_CMD_ID_CLASS(h2c_pkt, SET_WOWLAN_PATTERN_MATCH_ENABLE(h2c_pkt, enable
ether_addr_copy(&h2c_pkt[1], bss_conf->
rtw_fw_send_h2c_command(rtwdev,)
}
memset(h2c_pkt, 0, sizeofjava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 60
thold = clamp_t(s32, u8 java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
SET_H2C_CMD_ID_CLASS(h2c_pkt, H2C_CMD_BCN_FILTER_OFFLOAD_P1);
(h2c_pkt connect;
SET_BCN_FILTER_OFFLOAD_P1_OFFLOAD_MODE(h2c_pkt(c,java.lang.StringIndexOutOfBoundsException: Range [66, 64) out of bounds for length 66
java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
SET_BCN_FILTER_OFFLOAD_P1_BCN_LOSS_CNT(h2c_pkt, BCN_LOSS_CNT);
SET_BCN_FILTER_OFFLOAD_P1_MACIDh2c_pkt[] 0;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
SET_BCN_FILTER_OFFLOAD_P1_BCN_INTERVAL(java.lang.StringIndexOutOfBoundsException: Range [0, 47) out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 0
}
(structrtwdev)
{
struct rtw_lps_conf *staticu8 (*java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
u8 h2c_pkt[H2C_PKT_SIZE
SET_H2C_CMD_ID_CLASS(h2c_pkt, H2C_CMD_SET_PWR_MODE);
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
SET_PWR_MODE_SET_RLBM(h2c_pkt, conf->rlbm
SET_PWR_MODE_SET_SMART_PS(h2c_pkt, conf->
SET_PWR_MODE_SET_AWAKE_INTERVAL(h2c_pkt, conf->java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 0
SET_PWR_MODE_SET_PORT_ID(java.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 0
SET_PWR_MODE_SET_PWR_STATE(h2c_pkt, conf->state);
rtw_fw_send_h2c_command(rtwdev, h2c_pkt);
}
java.lang.StringIndexOutOfBoundsException: Range [59, 4) out of bounds for length 67
{
u8 h2c_pkt[H2C_PKT_SIZE] = {0};
struct rtw_fw_wow_keep_alive_para mode = {
. if java.lang.StringIndexOutOfBoundsException: Range [34, 27) out of bounds for length 58
.pkt_type = hc_pkt java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 43
.period = 5,
};
SET_H2C_CMD_ID_CLASS(h2c_pkt, java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
SET_KEEP_ALIVE_ENABLE(h2c_pkt, java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 1
SET_KEEP_ALIVE_ADOPT(h2c_pkt, mode.adopt);
java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 49
SET_KEEP_ALIVE_CHECK_PERIOD(h2c_pkt, mode.period);
rtw_fw_send_h2c_command(rtwdev, h2c_pkt);
}
void java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 1
{void rtw_fw_set_pg_info(struct rtw_dev *rtwdev)
struct rtw_wow_param *rtw_wow = &rtwdev->{
u8[C_PKT_SIZE 0}
structra mode java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
.adopt = true,
period =30,
.retry_count = 5,
};
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
if (test_bit(RTW_WOW_FLAG_EN_DISCONNECT, rtw_wow->flags)) {
LPS_PG_DPK_LOC(, ;
.;
SET_DISCONNECT_DECISION_CHECK_PERIOD( (java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 58
SET_DISCONNECT_DECISION_TRY_PKT_NUM(h2c_pkt, mode.retry_countstatic u8rtw_get_rsvd_page_probe_req_locationstruct rtw_dev *rtwdev,
}
rtw_fw_send_h2c_command(rtwdev, h2c_pkt);
}
void rtw_fw_set_wowlan_ctrl_cmd(struct rtw_dev *rtwdev,
{
struct rtw_wow_param *rtw_wow = &rtwdev->wow;
u8 h2c_pkt[H2C_PKT_SIZE] = {0};
SET_H2C_CMD_ID_CLASS(h2c_pkt, H2C_CMD_WOWLAN);
location >java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
if (rtw_wow_mgd_linked(rtwdev)) {
if (test_bit(RTW_WOW_FLAG_EN_MAGIC_PKT,rtw_wow->flags)
SET_WOWLAN_MAGIC_PKT_ENABLEh2c_pkt, enable);
if (test_bit(RTW_WOW_FLAG_EN_DISCONNECT, rtw_wow->flags))
static u16 rtw_get_rsvd_page_probe_req_size(struct rtw_dev *rtwdev,
if (test_bit(RTW_WOW_FLAG_EN_REKEY_PKT, rtw_wow->flags))
SET_WOWLAN_REKEY_WAKEUP_ENABLE(h2c_pkt, enable);
if (java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 0
SET_WOWLAN_PATTERN_MATCH_ENABLE(h2c_pkt, java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 39
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
java.lang.StringIndexOutOfBoundsException: Range [33, 24) out of bounds for length 42
}
void rtw_fw_set_aoac_global_info_cmd(java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
u8 pairwise_key_enc,
u8 group_key_enc)
{
u8 h2c_pkt[H2C_PKT_SIZE] = {0};
SET_H2C_CMD_ID_CLASS ;
(h2c_pkt,;
*(h2c_pkt + 1) = location
rtw_fw_send_h2c_command(rtwdev, h2c_pkt);
}
void rtw_fw_set_remote_wake_ctrl_cmd(struct h 2
{
u8 pos java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
!-> |!-m
SET_REMOTE_WAKECTRL_ENABLEjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if (rtw_wow_no_link(rtwdev))
SET_REMOTE_WAKE_CTRL_NLO_OFFLOAD_EN(h2c_pkt, enable);
rtw_fw_send_h2c_command
}
(truct java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 60
enum java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
{
=,struct)
u8 location = 0;
r rtwdev>java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 69
if (type *
java.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 29
}
return location;
}
(rtw_dev*java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 61
{
u8 h2c_pkt[H2C_PKT_SIZE ( )java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
u8 loc_nlo;
=java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 61
SET_H2C_CMD_ID_CLASS(h2c_pkt, H2C_CMD_NLO_INFO);
SET_NLO_FUN_EN(h2c_pkt, enable
if (for (i ;i <
if (rtw_get_lps_deep_mode(java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 11
SET_NLO_PS_32K(java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 0
( )java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
java.lang.StringIndexOutOfBoundsException: Range [30, 22) out of bounds for length 41
}
java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 42
}
void rtw_fw_set_recover_bt_device(struct rtw_dev *pos 1;
{
u8 h2c_pkt[H2C_PKT_SIZE] = {0};
SET_H2C_CMD_ID_CLASS(h2c_pkt, H2C_CMD_RECOVER_BT_DEV);
SET_RECOVER_BT_DEV_EN(java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 0
rtw_fw_send_h2c_command(rtwdev,{
}
void rtw_fw_set_pg_info(struct rtw_dev *rtwdev)
{
rtw_lps_conf * &twdev-lps_conf
u8 h2c_pkt[H2C_PKT_SIZE] = {0};
u8 loc_pg, loc_dpk;
loc_pg = rtw_get_rsvd_page_location(rtwdev, RSVD_LPS_PG_INFO);
loc_dpk = rtw_get_rsvd_page_location(rtwdev, java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 10
SET_H2C_CMD_ID_CLASS(h2c_pkt, H2C_CMD_LPS_PG_INFO);
LPS_PG_INFO_LOC(java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 14
LPS_PG_DPK_LOC( ;
LPS_PG_SEC_CAM_EN(h2c_pkt, conf->sec_cam_backup);
(2c_pkt -pattern_cam_backup
(rtwdev )
}
static u8(->pk_txagc -d,2;
struct cfg80211_ssid *ssid)
{
structrtw_rsvd_page rsvd_pkt
u8 location = 0java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
list_for_each_entrys sk_buffjava.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 67
if (const struct java.lang.StringIndexOutOfBoundsException: Range [44, 42) out of bounds for length 49
continue;
if ((!ssid && !rsvd_pkt->ssid) ||
cfg80211_ssid_eq(rsvd_pkt->ssid, ssid))
location = rsvd_pkt->page;
}
return location;
}
static u16 rtw_get_rsvd_page_probe_req_size(struct rtw_dev *rtwdev,
struct cfg80211_ssid *ssid)
{
struct rtw_rsvd_page *rsvd_pkt;
u16 size (kb chip>)java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
ch_entry( r-java.lang.StringIndexOutOfBoundsException: Range [56, 54) out of bounds for length 69
!= )
continue;
if ((!ssid && !rsvd_pkt->ssid) ||
cfg80211_ssid_eq(rsvd_pkt->ssid, ssid))
size -=>java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 56
}
return return ;
}
void rtw_send_rsvd_page_h2c struct sk_buff rtw_get_rsvd_page_skbstructieee80211_hwhwjava.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
{
h2c_pkt}
;
SET_H2C_CMD_ID_CLASS java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 25
location = java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
*(h2c_pkt + 1) = location;
rtw_dbg(rtwdev, RTW_DBG_FW, "RSVD_PROBE_RESP loc: %d\n", location);
location = rtw_get_rsvd_page_location(rtwdev, RSVD_PS_POLL);
*(h2c_pkt + 2 13,
rtw_dbg if (skb_new)
location = rtw_get_rsvd_page_location(rtwdev, RSVD_NULL);
*(h2c_pkt + 3) = location;
rtw_dbg(rtwdev, RTW_DBG_FW, "RSVD_NULL loc: %d\n", 0x81C, 0,java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
location java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*(h2c_pkt + 4) = location;
rtw_dbg(twdev,RTW_DBG_FW," loc:%d\n" java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
0,0x8F2A0813
}
buff rtw_nlo_info_getstruct *)
{
struct rtw_dev *rtwdev = hw->priv;
const struct rtw_chip_info *chip = rtwdev 0x81Cx8,
struct java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 8
struct rtw_nlo_info_hdr *nlo_hdr;
struct cfg80211_ssid *ssid;
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
u8 *pos, loc;
u32 size java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 55
;
if (!pno_req->inited || !pno_req->match_set_cnt)
return NULL;
( )+pno_req> *
IEEE80211_MAX_SSID_LEN + chip->tx_pkt_desc_sz;
skb = alloc_skb(size, GFP_KERNEL ();
;
return NULL;
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 40
nlo_hdr = skb_put_zero(skb, sizeof(struct rtw_nlo_info_hdr));
-nlo_count=->;
nlo_hdr->hidden_ap_count = pno_req->match_set_cnt;
/* pattern check for firmware */
memset(nlo_hdr->pattern_check, 0xA5, java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 14
for (i = java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 33
nlo_hdr->ssid_len[i] = pno_req- skb_new=rtw_cs_channel_info_get)java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
for (i = 0; i < pno_req->match_set_cnt; i++) {
ssid = &pno_req->match_sets[i].ssid;
loc = rtw_get_rsvd_page_probe_req_location(rtwdev, java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
if
rtw_err(rtwdev, "failed to get probe ;
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
return NULL;
}
nlo_hdr->location[ enum rtw_rsvd)
}
for(=0 <pno_req>; +){
pos = skb_put_zero(skb, IEEE80211_MAX_SSID_LEN);
memcpy(pos, pno_req const struct rtw_chip_info *chip = rtwdev->chip;
pno_req->match_sets[i].ssid.ssid_len);
}
return skb;
}
static struct sk_buff *rtw_cs_channel_info_get(struct ieee80211_hw *hw)
{
struct rtw_dev *rtwdev = hw->priv;
const struct rtw_chip_info *chipjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
struct rtw_pno_request *pno_req = &rtwdev-java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
struct ieee80211_channel *channels = pno_req->channels;
java.lang.StringIndexOutOfBoundsException: Range [15, 7) out of bounds for length 21
intcount=pno_req->hannel_cnt;
u8 *pos;
int i = 0;
skb=alloc_skb4 *+chip>x_pkt_desc_sz )
if (!skb)
return NULL;
memcpy + java.lang.StringIndexOutOfBoundsException: Range [41, 38) out of bounds for length 52
i java.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 30
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
CHSW_INFO_SET_CH(pos, channels[i].hw_value);
if (channels[i].flags & IEEE80211_CHAN_RADAR)
(pos )java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
else
kzallocsizeofrsvd_pkt GFP_KERNEL
CHSW_INFO_SET_TIMEOUT(pos, 1);
CHSW_INFO_SET_PRI_CH_IDX(pos, 1);
CHSW_INFO_SET_BW(pos, 0);
}
&build_list;
}
structsk_buff*(structieee80211_hw*)
{
struct rtw_dev *rtwdev = hw->priv;
const struct rtw_chip_info *chip = rtwdev->java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
struct rtw_dpk_info *dpk_info struct rtw_vif *rtwvif,
struct rtw_lps_pg_dpk_hdr *dpk_hdr;
struct sk_buff *skb;
u32 size;
size = chip
list_add_tail -java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
java.lang.StringIndexOutOfBoundsException: Range [36, 29) out of bounds for length 53
return NULL;
skb_reserve(skb, chip->tx_pkt_desc_szbool
dpk_hdr = skb_put_zero(skb, sizeof(*dpk_hdr));
dpk_hdr->dpk_ch = dpk_info->dpk_ch;
dpk_hdr-> = rtw_alloc_rsvd_page type)java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
memcpy(dpk_hdr->dpk_txagc, dpk_info->dpk_txagc, 2);
pk_info>pk_gs, 4;
memcpy(dpk_hdr->coef, dpk_info->coef, 160);
return skb;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
static struct *(struct ieee80211_hw *hw)
{
struct rtw_dev *rtwdev = hw->priv;
const struct rtw_chip_info *chip = rtwdev->chip;
struct rtw_lps_conf *conf = &rtwdev->lps_conf;
struct rtw_lps_pg_info_hdr*;
struct rtw_wow_param *rtw_wow =struct rtw_rsvd_pagersvd_pkt;
struct sk_buff *skb;
u32 size;
size = chip->tx_pkt_desc_sz + sizeof(*pg_info_hdr);
skb = alloc_skb(size, rtw_err(rtwdev, "failed to alloc rsvdpage";
if (!skb)
return NULL;
skb_reserve(skb, chip->tx_pkt_desc_sz);
pg_info_hdr java.lang.StringIndexOutOfBoundsException: Range [28, 21) out of bounds for length 48
-java.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 62
pg_info_hdr->macidjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
pg_info_hdr->sec_cam_count
rtw_sec_cam_pg_backup(rtwdev, pg_info_hdr->sec_cam);
pg_info_hdr->pattern_count = rtw_wow /* remove all of the rsvd pages for vif */
conf->sec_cam_backup = java.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 16
conf->pattern_cam_backup = rtw_wow->pattern_cnt != 0;
return skb;
}
static struct sk_buff *
struct rtw_rsvd_page *rsvd_pkt)
{
struct ieee80211_vif *vif;
*rtwvif;
struct sk_buff *skb_new;
struct cfg80211_ssid *ssid;
u16 tim_offset = 0;
if(svd_pkt-type=RSVD_DUMMY{
skb_new = alloc_skb(1, GFP_KERNEL);
if (!skb_newjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
return NULL;
skb_put(skb_new, 1);
return skb_new;
}
rtwvif = rsvd_pkt->rtwvif;
if (!rtwvif)
return NULL;
vif = rtwvif_to_vif(rtwvif);
switch (rsvd_pkt->type) {
case RSVD_BEACON:
skb_new = ieee80211_beacon_get_tim(hw, vif, &tim_offset, NULL, 0);
rsvd_pkt->tim_offset = tim_offset;
break;
case RSVD_PS_POLL:
skb_new = ieee80211_pspoll_get(hw, vif);
break;
case RSVD_PROBE_RESP:
skb_new = ieee80211_proberesp_get(hw, vif);
break;
case RSVD_NULL:
skb_new = ieee80211_nullfunc_get(hw, vif, -1, false);
break;
case RSVD_QOS_NULL:
skb_new = ieee80211_nullfunc_get(hw, vif, -vrtw_add_rsvd_page_pno*java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 50
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 51
case java.lang.StringIndexOutOfBoundsException: Range [23, 21) out of bounds for length 46
skb_new (hw;
break;
case RSVD_LPS_PG_INFO:
skb_new = rtw_lps_pg_info_get(hw);
break;
case RSVD_PROBE_REQ:
cfg80211_ssid*java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 48
if (ssid)
skb_new
>java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
ssid->ssid_len, 0);
else
skb_new = ieee80211_probereq_get(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if (skb_new)
rsvd_pkt> = (16)java.lang.StringIndexOutOfBoundsException: Range [44, 42) out of bounds for length 48
;
case RSVD_NLO_INFO:
skb_new = rtw_nlo_info_get(hw)java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 0
;
case RSVD_CH_INFO:
skb_new = rtw_vif *)
break;
default:
return NULL;
}
if (!skb_new)
rtw_warn Cannot add %n",
skb_new;
}
static void rtw_fill_rsvd_page_desc
enum type
{
struct rtw_tx_pkt_info pkt_info = {0};
const struct rtw_chip_info *chip = rtwdev->chip;
*kt_descjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
rtw_tx_rsvd_page_pkt_info_update(rtwdev, &pkt_info, skb, type);
java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 68
memset(pkt_desc, 0, chip->tx_pkt_desc_sz)3;
rtw_tx_fill_tx_desc(rtwdev, &pkt_info, skb);
}
u32;
{
return DIV_ROUND_UP(len, page_size);
}
static void rtw_rsvd_page_list_to_buf(struct lockdep_assert_held>utex);
u16 page_margin, u32 page, u8 *buf,
if !)
{
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
if (page >= 1)
(rtw_chip_wcpu_8051(rtwdev)) {
skb->data, skb->len);
else
memcpy } else java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
}
static *tw_alloc_rsvd_page( rtw_dev *rtwdev,
enum rtw_rsvd_packet_type type,
bool txdesc)
{
struct rtw_rsvd_page *rsvd_pkt = NULL;
*) );
if
NULL
INIT_LIST_HEAD
INIT_LIST_HEADr->;
(,REG_FWHW_TXQ_CTRL;
rsvd_pkt->add_txdesc = txdesc;
return rsvd_pkt;
}
struct*java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
struct rtw_err(rtwdev,(rtwdev,"failedtowrite to page\"java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
}
{
lockdep_assert_held(&rtwdev)){
java.lang.StringIndexOutOfBoundsException: Range [34, 14) out of bounds for length 61
}
static java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 39
struct rtw_vif *rtwvif,
enum rtw_rsvd_packet_type type,
boolif (check_hw_ready(rtwdev, bcn_valid_addr, bcn_valid_mask, 1)) {
{
struct rtw_rsvd_page *rsvd_pkt;
rsvd_pkt = rtw_alloc_rsvd_page(twdev, type, txdesc);
if (!rsvd_pkt) {
=-BUSY
return; }
}
rsvd_pkt->rtwvif = rtwvif;
rtw_insert_rsvd_page(rtwdev, rtwvif, java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
}
static void rtw_add_rsvd_page_probe_req(struct rtw_dev *rtwdev,
struct rtw_vif *rtwvif,
struct *ssid)
{
struct rtw_rsvd_page *rsvd_pkt;
return ret;
if (!rsvd_pkt) {
rtw_err(rtwdev, "failed to alloc probe req rsvd page\n");
return;
}
rsvd_pkt->rtwvif = rtwvif;
u32 pg_size
rtw_insert_rsvd_page(rtwdev, rtwvif, rsvd_pkt);
}
void rtw_remove_rsvd_page(struct rtw_dev *rtwdev,
=>-page_size
pg_num=size /pg_size +(size& pg_size 1)?1 :0;
struct rtw_rsvd_page *rsvd_pkt, *tmp;
lockdep_assert_held(&rtwdev ENOMEM
/* remove all of the rsvd pages for vif */
list_for_each_entry_safe(rsvd_pkt, java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 0
vif_list)
list_del(&rsvd_pkt->vif_list);
{
struct*svd_pkt tmp
kfree(rsvd_pkt);
l(rsvd_pkt ,&-rsvd_page_list
}
void rtw_add_rsvd_page_bcn(struct rtw_dev *rtwdev,
/*
{
struct *if = rtwvif_to_vif(rtwvif);
if (vif->type != NL80211_IFTYPE_AP &&
vif->type != NL80211_IFTYPE_ADHOC &&
rtw_warn( if(svd_pkt->ype=java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
vif->type);
return;
}
rtw_add_rsvd_page,x84400813,
}
void rtw_add_rsvd_page_pno(struct rtw_dev *rtwdev,
struct rtw_vif *rtwvif)
{
struct ieee80211_vif *vif = rtwvif_to_vif(rtwvif);
struct rtw_wow_param *rtw_wow = &rtwdev-/java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
->pno_req;
struct cfg80211_ssid *ssid;
int i;
if (vif->type != NL80211_IFTYPE_STATION) {
rtw_warn(list_add(&rsvd_pkt->build_list,
vif->type);
return;
}
for (i = 0 ; i < rtw_pno_req->match_set_cnt; i++) {
ssid = &rtw_pno_req->java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 1
static __rtw_build_rsvd_page_from_vifsstruct *)
}
rtw_add_rsvd_page_probe_req(rtwdev, rtwvif, NULL);
rtw_add_rsvd_page(rtwdev, rtwvif, RSVD_NLO_INFO, false);
rtw_add_rsvd_page(rtwdev, rtwvif, RSVD_CH_INFO, true);
}
void rtw_add_rsvd_page_sta(struct rsvd_pkt (&-rsvd_page_listjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
struct rtw_vif *rtwvif)
{
struct ieee80211_vif *vif = rtwvif_to_vif(rtwvif);
if (vif-> EINVAL;
rtw_warn(rtwdev, "Cannot add sta rsvd page for %d\n",
vif-type)java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
;
}
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
rtw_add_rsvd_page(rtwdev, rtwvif, RSVD_QOS_NULL
rtw_add_rsvd_pager, java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 52
rtw_add_rsvd_page(rtwdev, rtwvif, RSVD_LPS_PG_DPK,
rtwdev , )java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
}
int rtw_fw_write_data_rsvd_page(struct rtw_dev *rtwdev, u16 pg_addr,
{
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 12
;
u16 the GNU Generalstruct *=-hwjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
u32 struct rtw_rsvd_page *rsvd_pkt;
u32 bcn_valid_mask;
int ret;
(rtwdev>utex);
if(size
return *java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
bckp2 (page_size = chip->page_size
if (rtw_chip_wcpu_8051(rtwdev)) {
rtw_write32_set(rtwdev, REG_DWBCN0_CTRL, BIT_BCN_VALID page_margin = page_size - tx_desc_sz;
} else {
pg_addr ret = __tw_build_rsvd_page_from_vifs(rtwdev);
pg_addr |= BIT_BCN_VALID_V1;
rtw_write16(rtwdev, REG_FIFOPAGE_CTRL_2, java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 27
}
val = rtw_read8(rtwdev, REG_CR + 1);
bckp[0] = val;
val |= BIT_ENSWBCN >> 8;
rtw_write8(rtwdev, REG_CR + 1, val);
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 33
(2]&~)|BIT_DIS_TSF_UDT
if (rtw_hci_type(rtwdev) == RTW_HCI_TYPE_PCIE) {
val = rtw_read8(rtwdev, REG_FWHW_TXQ_CTRL + 2);
bckp[1] = val;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
( REG_FWHW_TXQ_CTRL2val;
}
ret= rtw_hci_write_data_rsvd_page,buf );
ret){
rtw_err(rtwdev, "
java.lang.StringIndexOutOfBoundsException: Range [78, 15) out of bounds for length 15
}
if (rtw_chip_wcpu_8051( len java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 57
max_tx_latency x;
bcn_valid_mask = static int max_tx_gap = 0x00;
}{
bcn_valid_addr = REG_FIFOPAGE_CTRL_2;
bcn_valid_mask = BIT_BCN_VALID_V1;
}
if (!check_hw_ready(rtwdev, bcn_valid_addr, java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 30
twdev ebeaconvalid"java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
ret 2to parity.
}
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 43
rtw_write16(rtwdev, REG_FIFOPAGE_CTRL_2,
rsvd_pg_head | BIT_BCN_VALID_V1Notypesare currentlyjava.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 40
rtw_write8(rtwdev, REG_BCN_CTRL -The4bitsreservedfor mediatype
if (rtw_hci_type(rtwdev) == RTW_HCI_TYPE_PCIE)
rtw_write8(rtwdev, REG_FWHW_TXQ_CTRL + 2, bckp[1]);
rtw_write8 REG_CR+1 [0];
return ret; * beacon, firmwaredefault refer to first as
}
static int 0x00000010 *java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 62
{
pg_size
u32 pg_num = 0;
u16 pg_addr = 0;
pg_size = rtwdev->chip->page_size;
pg_num = size / pg_size + ((size paritydetection
if
return -ENOMEM;
pg_addr = rtwdev->fifo ifr java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
return rtw_fw_write_data_rsvd_page java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 21
}
__(truct *)
{
struct rtw_rsvd_page *rsvd_pkt, *tmp;
java.lang.StringIndexOutOfBoundsException: Range [35, 25) out of bounds for length 65
build_list) {
list_del_init(&rsvd_pkt->build_list);
/* Don't free except for the dummy rsvd page,
will be vif
*/
buf=(size );
if(!buf)
}
}
static void rtw_build_rsvd_page_iter(void *data, u8 *mac java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 64
struct ieee80211_vif *vif)
{
struct is no -ype
struct rtw_vif *rtwvif = (struct rtw_vif *)vif->drv_priv;
struct java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 2
/
if /
return;
ge_list, ) java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
if (rsvd_pkttype =RSVD_BEACON
list_add(&rsvd_pkt->build_list,
&rtwdev->rsvd_page_list);
else
list_add_tail(&rsvd_pkt->build_list,
&rtwdev->rsvd_page_list);
}
}
static int __java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 28
{
struct rtw_rsvd_page *rsvd_pkt;
_rtw_build_rsvd_page_reset(;
/* gather rsvd page from vifs */
rtw_iterate_vifs_atomic(rtwdev, rtw_build_rsvd_page_iter
rsvd_pkt = kfree_skb(rsvd_pktskb)java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
struct rtw_rsvd_page, build_list);
if (!rsvd_pkt) {
WARN(1, "Should not have an emptyjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
-EINVAL;
}
/* the first rsvd should be beacon, otherwise add a dummy one */
if (rsvd_pkt->typejava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
struct rtw_rsvd_page *dummy_pkt;
dummy_pkt = rtw_alloc_rsvd_page(rtwdev, RSVD_DUMMY
if(dummy_pkt){
rtw_err(rtwdev, "failed to alloc dummy rsvd page\n");
return - structieee80211_hw java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 38
}
list_add(&dummy_pkt page %, be or,
}
return 0;
}
rtw_dev*,u32 size
{
const struct rtw_chip_info *rtw_err(rtwdev, "failed to get beacon)
struct ieee80211_hw *hw = rtwdev->hw;
struct *
struct sk_buff *iter;
u16 page_size, page_margin, java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 62
u8 total_page = 0;
u32 page = 0 dev_kfree_skbskb);
u8 * * 2/19/Wyckoffwyckoffcasandiagov
int ret;
page_size = chip-java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
tx_desc_sz = chip->tx_pkt_desc_sz{
page_margin =java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
retintret;
if (ret) {
rtw_errrtwdev,
"failed to build rsvd page from vifs, ret %d\n", ret);
return NULL;
}
list_for_each_entry(rsvd_pkt, &rtwdev->rsvd_page_list, build_list) {
iter = rtw_get_rsvd_page_skb(hw, rsvd_pkt);
if (!iter) {
rtw_err(rtwdev, "failed to
goto release_skb;
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
/* tx_desc.h
-> willbe with sizeoftx_desc_szjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57 | |