esp_wifi: Update some wifi config options

1) Update sta_config_t options.
        2) Update HE constellation tx/rx default value.
This commit is contained in:
aditi_lonkar
2023-02-16 11:29:36 +05:30
parent aeaf119338
commit 6b95b4ffd7
5 changed files with 32 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
@@ -592,7 +592,9 @@ static int wifi_cmd_query(int argc, char **argv)
printf("\tbssid: "MACSTR, MAC2STR(cfg.sta.bssid));
printf("\n");
printf("\tchannel: %d\n", cfg.sta.channel);
printf("\taid: %d\n", cfg.sta.aid);
uint16_t aid;
esp_wifi_sta_get_aid(&aid);
printf("\taid: %d\n", aid);
if (cfg.sta.pmf_cfg.capable) {
if (cfg.sta.pmf_cfg.required) {
printf("\tpmf: required\n");