Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esp-hosted/esp_hosted_ng/host build error #561

Open
3 tasks done
helpfile opened this issue Dec 27, 2024 · 1 comment
Open
3 tasks done

esp-hosted/esp_hosted_ng/host build error #561

helpfile opened this issue Dec 27, 2024 · 1 comment

Comments

@helpfile
Copy link

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

build no error

Actual behavior (suspected bug)

make output error

Error logs or terminal output

/mnt/sda1/work/T41/trunk/sdk/Zeratul.20230821/os/drivers/wifi/drivers/camera/7.2.0/esp32-c6/esp_cmd.c:1181:47: error: 'struct cfg80211_auth_request' has no member named 'auth_data_len'; did you mean 'sae_data_len'?
  cmd_len = sizeof(struct cmd_sta_auth) + req->auth_data_len;
                                               ^~~~~~~~~~~~~
                                               sae_data_len
/mnt/sda1/work/T41/trunk/sdk/Zeratul.20230821/os/drivers/wifi/drivers/camera/7.2.0/esp32-c6/esp_cmd.c:1206:28: error: 'struct cfg80211_auth_request' has no member named 'auth_data_len'; did you mean 'sae_data_len'?
  cmd->auth_data_len = req->auth_data_len;
                            ^~~~~~~~~~~~~
                            sae_data_len
/mnt/sda1/work/T41/trunk/sdk/Zeratul.20230821/os/drivers/wifi/drivers/camera/7.2.0/esp32-c6/esp_cmd.c:1207:30: error: 'struct cfg80211_auth_request' has no member named 'auth_data'; did you mean 'auth_type'?
  memcpy(cmd->auth_data, req->auth_data, req->auth_data_len);
                              ^~~~~~~~~
                              auth_type
/mnt/sda1/work/T41/trunk/sdk/Zeratul.20230821/os/drivers/wifi/drivers/camera/7.2.0/esp32-c6/esp_cmd.c:1207:46: error: 'struct cfg80211_auth_request' has no member named 'auth_data_len'; did you mean 'sae_data_len'?
  memcpy(cmd->auth_data, req->auth_data, req->auth_data_len);
                                              ^~~~~~~~~~~~~
                                              sae_data_len
/mnt/sda1/work/T41/trunk/sdk/Zeratul.20230821/os/drivers/wifi/drivers/camera/7.2.0/esp32-c6/esp_cmd.c: In function 'cmd_add_station':
/mnt/sda1/work/T41/trunk/sdk/Zeratul.20230821/os/drivers/wifi/drivers/camera/7.2.0/esp32-c6/esp_cmd.c:2240:19: error: 'struct station_parameters' has no member named 'he_capa'; did you mean 'ht_capa'?
  if (rate_params->he_capa) {
                   ^~~~~~~
                   ht_capa
/mnt/sda1/work/T41/trunk/sdk/Zeratul.20230821/os/drivers/wifi/drivers/camera/7.2.0/esp32-c6/esp_cmd.c:2241:38: error: 'WLAN_EID_EXTENSION' undeclared (first use in this function); did you mean 'WLAN_EID_RANN'?
   cmd_config->sta_param.he_caps[0] = WLAN_EID_EXTENSION;
                                      ^~~~~~~~~~~~~~~~~~
                                      WLAN_EID_RANN
/mnt/sda1/work/T41/trunk/sdk/Zeratul.20230821/os/drivers/wifi/drivers/camera/7.2.0/esp32-c6/esp_cmd.c:2241:38: note: each undeclared identifier is reported only once for each function it appears in
/mnt/sda1/work/T41/trunk/sdk/Zeratul.20230821/os/drivers/wifi/drivers/camera/7.2.0/esp32-c6/esp_cmd.c:2243:38: error: 'WLAN_EID_EXT_HE_CAPABILITY' undeclared (first use in this function); did you mean 'WLAN_EID_EXT_CAPABILITY'?
   cmd_config->sta_param.he_caps[2] = WLAN_EID_EXT_HE_CAPABILITY;
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
                                      WLAN_EID_EXT_CAPABILITY
/mnt/sda1/work/T41/trunk/sdk/Zeratul.20230821/os/drivers/wifi/drivers/camera/7.2.0/esp32-c6/esp_cmd.c:2244:58: error: 'struct station_parameters' has no member named 'he_capa'; did you mean 'ht_capa'?
   memcpy(&cmd_config->sta_param.he_caps[3], rate_params->he_capa, 24);
                                                          ^~~~~~~
                                                          ht_capa
make[2]: *** [scripts/Makefile.build:259: /mnt/sda1/work/T41/trunk/sdk/Zeratul.20230821/os/drivers/wifi/drivers/camera/7.2.0/esp32-c6/esp_cmd.o] Error 1
make[1]: *** [Makefile:1405: _module_/mnt/sda1/work/T41/trunk/sdk/Zeratul.20230821/os/drivers/wifi/drivers/camera/7.2.0/esp32-c6] Error 2
make[1]: Leaving directory '/mnt/sda1/work/T41/trunk/sdk/Zeratul.20230821/os/kernel-4.4.94'
make: *** [Makefile:73: all] Error 2

Steps to reproduce the behavior

make

Project release version

The latest version on github

System architecture

other (details in Additional context)

Operating system

Linux

Operating system version

linux 4.4.94

Shell

Bash

Additional context

My CPU architecture is MIPS 32-bit, and the operating system version is Linux 4.4.94,
in net/cfg80211.h
struct cfg80211_auth_request {
struct cfg80211_bss *bss;
const u8 *ie;
size_t ie_len;
enum nl80211_auth_type auth_type;
const u8 *key;
u8 key_len, key_idx;
const u8 *sae_data;
size_t sae_data_len;
};

@mantriyogesh
Copy link
Collaborator

@kapilkedawat ++

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants