Lines Matching +full:0 +full:x900000

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()
883 wil_dbg_wmi(wil, "Capability info : 0x%04x\n", cap); in wmi_evt_rx_mgmt()
884 wil_dbg_wmi(wil, "TSF : 0x%016llx\n", tsf); in wmi_evt_rx_mgmt()
889 wil_dbg_wmi(wil, "Capability info : 0x%04x\n", cap); in wmi_evt_rx_mgmt()
904 (void *)rx_mgmt_frame, d_len, 0); in wmi_evt_rx_mgmt()
934 wil_dbg_wmi(wil, "SCAN_COMPLETE(0x%08x)\n", status); in wmi_evt_scan_complete()
935 wil_dbg_misc(wil, "Complete scan_request 0x%p aborted %d\n", in wmi_evt_scan_complete()
939 if (vif->mid == 0) in wmi_evt_scan_complete()
998 assoc_req_ielen = 0; in wmi_evt_connect()
1007 assoc_resp_ielen = 0; in wmi_evt_connect()
1058 cfg80211_connect_result(ndev, evt->bssid, NULL, 0, in wmi_evt_connect()
1059 NULL, 0, in wmi_evt_connect()
1152 cfg80211_cqm_pktloss_notify(ndev, evt->bssid, 0, in wmi_evt_disconnect()
1182 if (cid >= 0) in wmi_evt_eapol_rx()
1242 cid = wil->ring2cid_tid[vri][0]; in wmi_evt_ring_en()
1254 memset(&params, 0, sizeof(params)); in wmi_evt_ring_en()
1255 wil_set_crypto_rx(0, WMI_KEY_USE_PAIRWISE, sta, &params); in wmi_evt_ring_en()
1260 if (agg_wsize >= 0) in wmi_evt_ring_en()
1283 evt->ba_timeout = 0; in wmi_evt_ba_status()
1284 evt->agg_wsize = 0; in wmi_evt_ba_status()
1285 evt->amsdu = 0; in wmi_evt_ba_status()
1345 for (i = 0; i < ARRAY_SIZE(wil->ring2cid_tid); i++) { in wmi_evt_delba()
1346 if (wil->ring2cid_tid[i][0] == cid && in wmi_evt_delba()
1352 txdata->agg_timeout = 0; in wmi_evt_delba()
1353 txdata->agg_wsize = 0; in wmi_evt_delba()
1396 if (flen < 0) { in wmi_evt_sched_scan_result()
1412 wil_err(wil, "sched scan result invalid frame, fc 0x%04x\n", in wmi_evt_sched_scan_result()
1448 cfg80211_sched_scan_results(wiphy, 0); in wmi_evt_sched_scan_result()
1458 if (cid < 0 || cid >= wil->max_assoc_sta) { in wil_link_stats_store_basic()
1510 vif->fw_stats_tsf = 0; in wmi_link_stats_parse()
1532 wil->fw_stats_global.tsf = 0; in wmi_link_stats_parse()
1606 lcid = wil->ring2cid_tid[i][0]; in wil_find_cid_ringid_sta()
1613 return 0; in wil_find_cid_ringid_sta()
1628 int rc, cid = 0, ringid = 0; in wmi_evt_auth_status()
1636 if (ie_len >= 0 && data->status != WMI_FW_STATUS_SUCCESS) { in wmi_evt_auth_status()
1684 rc = wmi_del_cipher_key(vif, 0, wil->sta[cid].addr, in wmi_evt_auth_status()
1690 rc = wmi_del_cipher_key(vif, 0, wil->sta[cid].addr, in wmi_evt_auth_status()
1698 memset(&ft, 0, sizeof(ft)); in wmi_evt_auth_status()
1719 int rc = -ENOENT, cid = 0, ringid = 0; in wmi_evt_reassoc_status()
1721 size_t assoc_req_ie_len = 0, assoc_resp_ie_len = 0; in wmi_evt_reassoc_status()
1731 if (ies_len < 0) { in wmi_evt_reassoc_status()
1805 rc = wil->txrx_ops.tx_ring_modify(vif, ringid, cid, 0); in wmi_evt_reassoc_status()
1823 memset(&info, 0, sizeof(info)); in wmi_evt_reassoc_status()
1872 wil_dbg_wmi(wil, "Ignore event 0x%04x len %d\n", id, len); in wmi_evt_ignore()
1916 unsigned int num_immed_reply = 0; in wmi_recv_cmd()
1928 for (n = 0;; n++) { in wmi_recv_cmd()
1943 if (d_tail.sync == 0) { in wmi_recv_cmd()
1949 if (0 != wmi_read_hdr(wil, d_tail.addr, &hdr)) { in wmi_recv_cmd()
1950 wil_err(wil, "Mbox evt at 0x%08x?\n", in wmi_recv_cmd()
1973 offsetof(struct wil6210_mbox_ring_desc, sync), 0); in wmi_recv_cmd()
2006 wil_dbg_wmi(wil, "recv %s (0x%04x) MID %d @%d msec\n", in wmi_recv_cmd()
2021 wil_dbg_wmi(wil, "recv_cmd: Complete WMI 0x%04x\n", in wmi_recv_cmd()
2063 if (0 == remain) { in wmi_call()
2064 wil_err(wil, "wmi_call(0x%04x->0x%04x) timeout %d msec\n", in wmi_call()
2069 "wmi_call(0x%04x->0x%04x) completed in %d msec\n", in wmi_call()
2076 wil->reply_id = 0; in wmi_call()
2079 wil->reply_size = 0; in wmi_call()
2091 .value = cpu_to_le32(0x12345678), in wmi_echo()
2095 WMI_ECHO_RSP_EVENTID, NULL, 0, in wmi_echo()
2115 int rc = 0; in wmi_led_cfg()
2231 (cmd.pcp_max_assoc_sta <= 0)) { in wmi_pcp_start()
2272 return wmi_call(wil, WMI_PCP_STOP_CMDID, vif->mid, NULL, 0, in wmi_pcp_stop()
2273 WMI_PCP_STOPPED_EVENTID, NULL, 0, in wmi_pcp_stop()
2302 memset(&reply, 0, sizeof(reply)); in wmi_get_ssid()
2304 rc = wmi_call(wil, WMI_GET_SSID_CMDID, vif->mid, NULL, 0, in wmi_get_ssid()
2317 return 0; in wmi_get_ssid()
2340 memset(&reply, 0, sizeof(reply)); in wmi_get_channel()
2342 rc = wmi_call(wil, WMI_GET_PCP_CHANNEL_CMDID, vif->mid, NULL, 0, in wmi_get_channel()
2353 return 0; in wmi_get_channel()
2397 rc = wmi_call(wil, WMI_START_LISTEN_CMDID, vif->mid, NULL, 0, in wmi_start_listen()
2421 rc = wmi_call(wil, WMI_START_SEARCH_CMDID, vif->mid, NULL, 0, in wmi_start_search()
2439 rc = wmi_call(wil, WMI_DISCOVERY_STOP_CMDID, vif->mid, NULL, 0, in wmi_stop_discovery()
2440 WMI_DISCOVERY_STOPPED_EVENTID, NULL, 0, in wmi_stop_discovery()
2478 /* key len = 0 is allowed only for usage of WMI_KEY_USE_APPLY */ in wmi_add_cipher_key()
2479 if ((key_len == 0 || !key) && in wmi_add_cipher_key()
2518 ie_len = 0; in wmi_set_ie()
2545 ie_len = 0; in wmi_update_ft_ies()
2595 rc = wmi_call(wil, WMI_START_LISTEN_CMDID, vif->mid, NULL, 0, in wmi_rxon()
2599 if ((rc == 0) && (reply.evt.status != WMI_FW_STATUS_SUCCESS)) in wmi_rxon()
2602 rc = wmi_call(wil, WMI_DISCOVERY_STOP_CMDID, vif->mid, NULL, 0, in wmi_rxon()
2603 WMI_DISCOVERY_STOPPED_EVENTID, NULL, 0, in wmi_rxon()
2623 .mid = 0, /* TODO - what is it? */ in wmi_rx_chain_add()
2634 memset(&evt, 0, sizeof(evt)); in wmi_rx_chain_add()
2670 wil_dbg_misc(wil, "Rx init: status %d tail 0x%08x\n", in wmi_rx_chain_add()
2690 memset(&reply, 0, sizeof(reply)); in wmi_get_temperature()
2703 return 0; in wmi_get_temperature()
2727 memset(&reply, 0, sizeof(reply)); in wmi_get_all_temperatures()
2741 return 0; in wmi_get_all_temperatures()
2762 memset(&reply, 0, sizeof(reply)); in wmi_disconnect_sta()
2783 return 0; in wmi_disconnect_sta()
2845 /* bit 0: A-MSDU supported in wmi_addba_rx_resp()
2850 .ba_param_set = cpu_to_le16((amsdu ? 1 : 0) | (tid << 2) | in wmi_addba_rx_resp()
2899 /* bit 0: A-MSDU supported in wmi_addba_rx_resp_edma()
2904 .ba_param_set = cpu_to_le16((amsdu ? 1 : 0) | (tid << 2) | in wmi_addba_rx_resp_edma()
2907 /* route all the connections to status ring 0 */ in wmi_addba_rx_resp_edma()
3022 memset(&reply, 0, sizeof(reply)); in wmi_get_mgmt_retry()
3023 rc = wmi_call(wil, WMI_GET_MGMT_RETRY_LIMIT_CMDID, vif->mid, NULL, 0, in wmi_get_mgmt_retry()
3032 return 0; in wmi_get_mgmt_retry()
3042 rc = wmi_send(wil, WMI_ABORT_SCAN_CMDID, vif->mid, NULL, 0); in wmi_abort_scan()
3137 if (rc == 0) { in wmi_suspend()
3165 string[0] = '\0'; in resume_triggers2string()
3202 rc = wmi_call(wil, WMI_TRAFFIC_RESUME_CMDID, vif->mid, NULL, 0, in wmi_resume()
3209 wil_dbg_pm(wil, "device resume %s, resume triggers:%s (0x%x)\n", in wmi_resume()
3267 return 0; in wmi_port_allocate()
3299 return 0; in wmi_port_delete()
3307 for (i = 0; i < ARRAY_SIZE(wmi_evt_handlers); i++) { in wmi_evt_call_handler()
3330 wil_dbg_wmi(wil, "Handle %s (0x%04x) (reply_id 0x%04x,%d)\n", in wmi_event_handle()
3335 mid = 0; in wmi_event_handle()
3366 wil_dbg_wmi(wil, "event_handle: Complete WMI 0x%04x\n", in wmi_event_handle()
3375 wil_info(wil, "Unhandled event 0x%04x\n", id); in wmi_event_handle()
3472 for (i = 0; i < n_match_sets; i++) { in wmi_sched_scan_set_ssids()
3486 for (j = 0; j < n_ssids; j++) in wmi_sched_scan_set_ssids()
3489 wmi_match->ssid_len) == 0) in wmi_sched_scan_set_ssids()
3509 for (i = 0; i < n_channels; i++) { in wmi_sched_scan_set_channels()
3530 for (i = 0; i < n_scan_plans; i++) { in wmi_sched_scan_set_plans()
3583 return 0; in wmi_start_sched_scan()
3600 rc = wmi_call(wil, WMI_STOP_SCHED_SCAN_CMDID, vif->mid, NULL, 0, in wmi_stop_sched_scan()
3612 return 0; in wmi_stop_sched_scan()
3754 return 0; in wil_wmi_tx_sring_cfg()
3766 .l2_802_3_offload_ctrl = 0, in wil_wmi_cfg_def_rx_offload()
3790 return 0; in wil_wmi_cfg_def_rx_offload()
3833 return 0; in wil_wmi_rx_sring_add()
3875 return 0; in wil_wmi_rx_desc_ring_add()
3897 .priority = cpu_to_le16(0), in wil_wmi_tx_desc_ring_add()
3898 .timeslot_us = cpu_to_le16(0xfff), in wil_wmi_tx_desc_ring_add()
3929 return 0; in wil_wmi_tx_desc_ring_add()
3975 return 0; in wil_wmi_bcast_desc_ring_add()
4009 return 0; in wmi_link_stats_cfg()
4052 return 0; in wmi_set_cqm_rssi_config()