Lines Matching +full:0 +full:x858000

21 int agg_wsize; /* = 0; */
24 " 0 - use default; < 0 - don't auto-establish");
29 " 60G device led enablement. Set the led ID (0-2) to enable");
62 * AHB addresses starting from 0x880000
75 * 0x880000 .. 0xa80000 2Mb BAR0
76 * 0x800000 .. 0x808000 0x900000 .. 0x908000 32k DCCM
77 * 0x840000 .. 0x860000 0x908000 .. 0x928000 128k PERIPH
81 {0x000000, 0x040000, 0x8c0000, "fw_code", true, true},
83 {0x800000, 0x808000, 0x900000, "fw_data", true, true},
85 {0x840000, 0x860000, 0x908000, "fw_peri", true, true},
87 {0x880000, 0x88a000, 0x880000, "rgf", true, true},
89 {0x88a000, 0x88b000, 0x88a000, "AGC_tbl", true, true},
91 {0x88b000, 0x88c000, 0x88b000, "rgf_ext", true, true},
93 {0x88c000, 0x88c200, 0x88c000, "mac_rgf_ext", true, true},
95 {0x8c0000, 0x949000, 0x8c0000, "upper", true, true},
100 {0x000000, 0x020000, 0x920000, "uc_code", false, false},
102 {0x800000, 0x804000, 0x940000, "uc_data", false, false},
109 0x88c000, 0x88c500, 0x88c000, "mac_rgf_ext", true, true
118 * 0x880000 .. 0xc80000 4Mb BAR0
119 * 0x800000 .. 0x820000 0xa00000 .. 0xa20000 128k DCCM
120 * 0x840000 .. 0x858000 0xa20000 .. 0xa38000 96k PERIPH
124 {0x000000, 0x100000, 0x900000, "fw_code", true, true},
126 {0x800000, 0x820000, 0xa00000, "fw_data", true, true},
128 {0x840000, 0x858000, 0xa20000, "fw_peri", true, true},
130 {0x880000, 0x88a000, 0x880000, "rgf", true, true},
132 {0x88a000, 0x88b000, 0x88a000, "AGC_tbl", true, true},
134 {0x88b000, 0x88c000, 0x88b000, "rgf_ext", true, true},
136 {0x88c000, 0x88c540, 0x88c000, "mac_rgf_ext", true, true},
138 {0x88d000, 0x88e000, 0x88d000, "ext_user_rgf", true, true},
140 {0x8a0000, 0x8a1000, 0x8a0000, "otp", true, false},
142 {0x8b0000, 0x8c0000, 0x8b0000, "dma_ext_rgf", true, true},
144 {0x900000, 0xa80000, 0x900000, "upper", true, true},
149 {0x000000, 0x040000, 0xa38000, "uc_code", false, false},
151 {0x800000, 0x808000, 0xa78000, "uc_data", false, false},
160 * 0x880000 .. 0xc80000 4Mb BAR0
161 * 0x800000 .. 0x820000 0xa00000 .. 0xa20000 128k DCCM
162 * 0x840000 .. 0x858000 0xa20000 .. 0xa38000 96k PERIPH
166 {0x000000, 0x0c0000, 0x900000, "fw_code", true, true},
168 {0x800000, 0x820000, 0xa00000, "fw_data", true, true},
170 {0x840000, 0x858000, 0xa20000, "fw_peri", true, true},
172 {0x880000, 0x88a000, 0x880000, "rgf", true, true},
174 {0x88a000, 0x88b000, 0x88a000, "AGC_tbl", true, true},
176 {0x88b000, 0x88c000, 0x88b000, "rgf_ext", true, true},
178 {0x88c000, 0x88c8d0, 0x88c000, "mac_rgf_ext", true, true},
180 {0x88d000, 0x88e000, 0x88d000, "ext_user_rgf", true, true},
182 {0x890000, 0x894000, 0x890000, "sec_pka", true, true},
184 {0x898000, 0x898c18, 0x898000, "sec_kdf_rgf", true, true},
186 {0x89a000, 0x89a84c, 0x89a000, "sec_main", true, true},
188 {0x8a0000, 0x8a1000, 0x8a0000, "otp", true, false},
190 {0x8b0000, 0x8c0000, 0x8b0000, "dma_ext_rgf", true, true},
192 {0x8c0000, 0x8c0210, 0x8c0000, "dum_user_rgf", true, true},
194 {0x8c2000, 0x8c2128, 0x8c2000, "dma_ofu", true, true},
196 {0x8c3000, 0x8c3100, 0x8c3000, "ucode_debug", true, true},
198 {0x900000, 0xa80000, 0x900000, "upper", true, true},
203 {0x000000, 0x040000, 0xa38000, "uc_code", false, false},
205 {0x800000, 0x808000, 0xa78000, "uc_data", false, false},
229 * If address have no valid AHB mapping, return 0
235 for (i = 0; i < ARRAY_SIZE(fw_mapping); i++) { in wmi_addr_remap()
241 return 0; in wmi_addr_remap()
254 for (i = 0; i < ARRAY_SIZE(fw_mapping); i++) in wil_find_fw_mapping()
297 return wmi_buffer_block(wil, ptr_, 0); in wmi_buffer()
328 return 0; in wmi_read_hdr()
642 .flags = 0, in __wmi_send()
656 int rc = 0; in __wmi_send()
682 wil_err(wil, "WMI head is garbage: 0x%08x\n", r->head); in __wmi_send()
689 for (retry = 5; retry > 0; retry--) { in __wmi_send()
691 if (d_head.sync == 0) in __wmi_send()
695 if (d_head.sync != 0) { in __wmi_send()
702 wil_dbg_wmi(wil, "Head 0x%08x -> 0x%08x\n", r->head, next_head); in __wmi_send()
704 for (retry = 5; retry > 0; retry--) { in __wmi_send()
723 wil_err(wil, "invalid WMI buffer: 0x%08x\n", in __wmi_send()
730 wil_dbg_wmi(wil, "sending %s (0x%04x) [%d] mid %d\n", in __wmi_send()
793 evt->max_assoc_sta > 0) { in wmi_evt_ready()
831 if (flen < 0) { in wmi_evt_rx_mgmt()
857 wil_dbg_wmi(wil, "status 0x%04x len %d fc 0x%04x\n", d_status, d_len, in wmi_evt_rx_mgmt()
882 wil_dbg_wmi(wil, "Capability info : 0x%04x\n", cap); in wmi_evt_rx_mgmt()
883 wil_dbg_wmi(wil, "TSF : 0x%016llx\n", tsf); in wmi_evt_rx_mgmt()
888 wil_dbg_wmi(wil, "Capability info : 0x%04x\n", cap); in wmi_evt_rx_mgmt()
903 (void *)rx_mgmt_frame, d_len, 0); in wmi_evt_rx_mgmt()
933 wil_dbg_wmi(wil, "SCAN_COMPLETE(0x%08x)\n", status); in wmi_evt_scan_complete()
934 wil_dbg_misc(wil, "Complete scan_request 0x%p aborted %d\n", in wmi_evt_scan_complete()
938 if (vif->mid == 0) in wmi_evt_scan_complete()
997 assoc_req_ielen = 0; in wmi_evt_connect()
1006 assoc_resp_ielen = 0; in wmi_evt_connect()
1057 cfg80211_connect_result(ndev, evt->bssid, NULL, 0, in wmi_evt_connect()
1058 NULL, 0, in wmi_evt_connect()
1151 cfg80211_cqm_pktloss_notify(ndev, evt->bssid, 0, in wmi_evt_disconnect()
1181 if (cid >= 0) in wmi_evt_eapol_rx()
1241 cid = wil->ring2cid_tid[vri][0]; in wmi_evt_ring_en()
1253 memset(&params, 0, sizeof(params)); in wmi_evt_ring_en()
1254 wil_set_crypto_rx(0, WMI_KEY_USE_PAIRWISE, sta, &params); in wmi_evt_ring_en()
1259 if (agg_wsize >= 0) in wmi_evt_ring_en()
1282 evt->ba_timeout = 0; in wmi_evt_ba_status()
1283 evt->agg_wsize = 0; in wmi_evt_ba_status()
1284 evt->amsdu = 0; in wmi_evt_ba_status()
1344 for (i = 0; i < ARRAY_SIZE(wil->ring2cid_tid); i++) { in wmi_evt_delba()
1345 if (wil->ring2cid_tid[i][0] == cid && in wmi_evt_delba()
1351 txdata->agg_timeout = 0; in wmi_evt_delba()
1352 txdata->agg_wsize = 0; in wmi_evt_delba()
1394 if (flen < 0) { in wmi_evt_sched_scan_result()
1410 wil_err(wil, "sched scan result invalid frame, fc 0x%04x\n", in wmi_evt_sched_scan_result()
1447 cfg80211_sched_scan_results(wiphy, 0); in wmi_evt_sched_scan_result()
1509 vif->fw_stats_tsf = 0; in wmi_link_stats_parse()
1531 wil->fw_stats_global.tsf = 0; in wmi_link_stats_parse()
1605 lcid = wil->ring2cid_tid[i][0]; in wil_find_cid_ringid_sta()
1612 return 0; in wil_find_cid_ringid_sta()
1627 int rc, cid = 0, ringid = 0; in wmi_evt_auth_status()
1635 if (ie_len >= 0 && data->status != WMI_FW_STATUS_SUCCESS) { in wmi_evt_auth_status()
1683 rc = wmi_del_cipher_key(vif, 0, wil->sta[cid].addr, in wmi_evt_auth_status()
1689 rc = wmi_del_cipher_key(vif, 0, wil->sta[cid].addr, in wmi_evt_auth_status()
1697 memset(&ft, 0, sizeof(ft)); in wmi_evt_auth_status()
1718 int rc = -ENOENT, cid = 0, ringid = 0; in wmi_evt_reassoc_status()
1720 size_t assoc_req_ie_len = 0, assoc_resp_ie_len = 0; in wmi_evt_reassoc_status()
1730 if (ies_len < 0) { in wmi_evt_reassoc_status()
1804 rc = wil->txrx_ops.tx_ring_modify(vif, ringid, cid, 0); in wmi_evt_reassoc_status()
1822 memset(&info, 0, sizeof(info)); in wmi_evt_reassoc_status()
1823 info.links[0].channel = ieee80211_get_channel(wiphy, freq); in wmi_evt_reassoc_status()
1824 info.links[0].bss = vif->bss; in wmi_evt_reassoc_status()
1871 wil_dbg_wmi(wil, "Ignore event 0x%04x len %d\n", id, len); in wmi_evt_ignore()
1915 unsigned int num_immed_reply = 0; in wmi_recv_cmd()
1927 for (n = 0;; n++) { in wmi_recv_cmd()
1942 if (d_tail.sync == 0) { in wmi_recv_cmd()
1948 if (0 != wmi_read_hdr(wil, d_tail.addr, &hdr)) { in wmi_recv_cmd()
1949 wil_err(wil, "Mbox evt at 0x%08x?\n", in wmi_recv_cmd()
1972 offsetof(struct wil6210_mbox_ring_desc, sync), 0); in wmi_recv_cmd()
2005 wil_dbg_wmi(wil, "recv %s (0x%04x) MID %d @%d msec\n", in wmi_recv_cmd()
2020 wil_dbg_wmi(wil, "recv_cmd: Complete WMI 0x%04x\n", in wmi_recv_cmd()
2062 if (0 == remain) { in wmi_call()
2063 wil_err(wil, "wmi_call(0x%04x->0x%04x) timeout %d msec\n", in wmi_call()
2068 "wmi_call(0x%04x->0x%04x) completed in %d msec\n", in wmi_call()
2075 wil->reply_id = 0; in wmi_call()
2078 wil->reply_size = 0; in wmi_call()
2090 .value = cpu_to_le32(0x12345678), in wmi_echo()
2094 WMI_ECHO_RSP_EVENTID, NULL, 0, in wmi_echo()
2114 int rc = 0; in wmi_led_cfg()
2230 (cmd.pcp_max_assoc_sta <= 0)) { in wmi_pcp_start()
2271 return wmi_call(wil, WMI_PCP_STOP_CMDID, vif->mid, NULL, 0, in wmi_pcp_stop()
2272 WMI_PCP_STOPPED_EVENTID, NULL, 0, in wmi_pcp_stop()
2301 memset(&reply, 0, sizeof(reply)); in wmi_get_ssid()
2303 rc = wmi_call(wil, WMI_GET_SSID_CMDID, vif->mid, NULL, 0, in wmi_get_ssid()
2316 return 0; in wmi_get_ssid()
2339 memset(&reply, 0, sizeof(reply)); in wmi_get_channel()
2341 rc = wmi_call(wil, WMI_GET_PCP_CHANNEL_CMDID, vif->mid, NULL, 0, in wmi_get_channel()
2352 return 0; in wmi_get_channel()
2396 rc = wmi_call(wil, WMI_START_LISTEN_CMDID, vif->mid, NULL, 0, in wmi_start_listen()
2420 rc = wmi_call(wil, WMI_START_SEARCH_CMDID, vif->mid, NULL, 0, in wmi_start_search()
2438 rc = wmi_call(wil, WMI_DISCOVERY_STOP_CMDID, vif->mid, NULL, 0, in wmi_stop_discovery()
2439 WMI_DISCOVERY_STOPPED_EVENTID, NULL, 0, in wmi_stop_discovery()
2477 /* key len = 0 is allowed only for usage of WMI_KEY_USE_APPLY */ in wmi_add_cipher_key()
2478 if ((key_len == 0 || !key) && in wmi_add_cipher_key()
2517 ie_len = 0; in wmi_set_ie()
2544 ie_len = 0; in wmi_update_ft_ies()
2594 rc = wmi_call(wil, WMI_START_LISTEN_CMDID, vif->mid, NULL, 0, in wmi_rxon()
2598 if ((rc == 0) && (reply.evt.status != WMI_FW_STATUS_SUCCESS)) in wmi_rxon()
2601 rc = wmi_call(wil, WMI_DISCOVERY_STOP_CMDID, vif->mid, NULL, 0, in wmi_rxon()
2602 WMI_DISCOVERY_STOPPED_EVENTID, NULL, 0, in wmi_rxon()
2622 .mid = 0, /* TODO - what is it? */ in wmi_rx_chain_add()
2633 memset(&evt, 0, sizeof(evt)); in wmi_rx_chain_add()
2669 wil_dbg_misc(wil, "Rx init: status %d tail 0x%08x\n", in wmi_rx_chain_add()
2689 memset(&reply, 0, sizeof(reply)); in wmi_get_temperature()
2702 return 0; in wmi_get_temperature()
2726 memset(&reply, 0, sizeof(reply)); in wmi_get_all_temperatures()
2740 return 0; in wmi_get_all_temperatures()
2761 memset(&reply, 0, sizeof(reply)); in wmi_disconnect_sta()
2782 return 0; in wmi_disconnect_sta()
2844 /* bit 0: A-MSDU supported in wmi_addba_rx_resp()
2849 .ba_param_set = cpu_to_le16((amsdu ? 1 : 0) | (tid << 2) | in wmi_addba_rx_resp()
2898 /* bit 0: A-MSDU supported in wmi_addba_rx_resp_edma()
2903 .ba_param_set = cpu_to_le16((amsdu ? 1 : 0) | (tid << 2) | in wmi_addba_rx_resp_edma()
2906 /* route all the connections to status ring 0 */ in wmi_addba_rx_resp_edma()
3021 memset(&reply, 0, sizeof(reply)); in wmi_get_mgmt_retry()
3022 rc = wmi_call(wil, WMI_GET_MGMT_RETRY_LIMIT_CMDID, vif->mid, NULL, 0, in wmi_get_mgmt_retry()
3031 return 0; in wmi_get_mgmt_retry()
3041 rc = wmi_send(wil, WMI_ABORT_SCAN_CMDID, vif->mid, NULL, 0); in wmi_abort_scan()
3136 if (rc == 0) { in wmi_suspend()
3164 string[0] = '\0'; in resume_triggers2string()
3201 rc = wmi_call(wil, WMI_TRAFFIC_RESUME_CMDID, vif->mid, NULL, 0, in wmi_resume()
3208 wil_dbg_pm(wil, "device resume %s, resume triggers:%s (0x%x)\n", in wmi_resume()
3266 return 0; in wmi_port_allocate()
3298 return 0; in wmi_port_delete()
3306 for (i = 0; i < ARRAY_SIZE(wmi_evt_handlers); i++) { in wmi_evt_call_handler()
3329 wil_dbg_wmi(wil, "Handle %s (0x%04x) (reply_id 0x%04x,%d)\n", in wmi_event_handle()
3334 mid = 0; in wmi_event_handle()
3365 wil_dbg_wmi(wil, "event_handle: Complete WMI 0x%04x\n", in wmi_event_handle()
3374 wil_info(wil, "Unhandled event 0x%04x\n", id); in wmi_event_handle()
3471 for (i = 0; i < n_match_sets; i++) { in wmi_sched_scan_set_ssids()
3485 for (j = 0; j < n_ssids; j++) in wmi_sched_scan_set_ssids()
3488 wmi_match->ssid_len) == 0) in wmi_sched_scan_set_ssids()
3508 for (i = 0; i < n_channels; i++) { in wmi_sched_scan_set_channels()
3529 for (i = 0; i < n_scan_plans; i++) { in wmi_sched_scan_set_plans()
3582 return 0; in wmi_start_sched_scan()
3599 rc = wmi_call(wil, WMI_STOP_SCHED_SCAN_CMDID, vif->mid, NULL, 0, in wmi_stop_sched_scan()
3611 return 0; in wmi_stop_sched_scan()
3753 return 0; in wil_wmi_tx_sring_cfg()
3765 .l2_802_3_offload_ctrl = 0, in wil_wmi_cfg_def_rx_offload()
3789 return 0; in wil_wmi_cfg_def_rx_offload()
3832 return 0; in wil_wmi_rx_sring_add()
3874 return 0; in wil_wmi_rx_desc_ring_add()
3896 .priority = cpu_to_le16(0), in wil_wmi_tx_desc_ring_add()
3897 .timeslot_us = cpu_to_le16(0xfff), in wil_wmi_tx_desc_ring_add()
3928 return 0; in wil_wmi_tx_desc_ring_add()
3974 return 0; in wil_wmi_bcast_desc_ring_add()
4008 return 0; in wmi_link_stats_cfg()
4027 cmd->rssi_thresholds_list[0] = rssi_thold; in wmi_set_cqm_rssi_config()
4046 return 0; in wmi_set_cqm_rssi_config()