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

wifi 802.11 tx on channel 1 only (IDFGH-14111) #14919

Closed
3 tasks done
chegewara opened this issue Nov 21, 2024 · 6 comments
Closed
3 tasks done

wifi 802.11 tx on channel 1 only (IDFGH-14111) #14919

chegewara opened this issue Nov 21, 2024 · 6 comments
Assignees
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally

Comments

@chegewara
Copy link
Contributor

chegewara commented Nov 21, 2024

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

Hi team,
sorry for posting this on github issues instead of forum, but its important in my project.

We have 802.11 beaconing which is sending CCX, IBSS and WDS packets on different channels, but wireshark can catch packets only on channel 1 and im not sure if its issue with wireshark or esp32.

Logic:

  • run wifi in STA mode
  • not associated with any STA
  • TX on channels 1, 6, 11

esp-idf 5.3 and master

Thanks

@espressif-bot espressif-bot added the Status: Opened Issue is new label Nov 21, 2024
@github-actions github-actions bot changed the title wifi 802.11 tx on channel 1 only wifi 802.11 tx on channel 1 only (IDFGH-14111) Nov 21, 2024
@zhangyanjiaoesp
Copy link
Collaborator

@chegewara
Are you calling esp_wifi_set_channel() and then calling esp_wifi_80211_tx() ?

@chegewara
Copy link
Contributor Author

Hi,
yes, thats exactly what i do.

    ESP_ERROR_CHECK_WITHOUT_ABORT(esp_wifi_set_channel(channel, WIFI_SECOND_CHAN_NONE));
    auto err = esp_wifi_80211_tx(ifx, buffer, len, en_sys_seq);
    ESP_ERROR_CHECK_WITHOUT_ABORT(err);

Thanks

PS i just want to confirm with espressif its working as expected, since my wireshark cant catch packets on channels other than 1

@zhangyanjiaoesp
Copy link
Collaborator

Are you using ESP32?

@chegewara
Copy link
Contributor Author

Yes, its esp32 pico V2

@zhangyanjiaoesp
Copy link
Collaborator

Hi, I just test on the master branch, using the station example, on ESP32. When the channel change to 6/11, I can capture the packets on channel 6/11.
Screenshot from 2024-11-26 15-09-16
Screenshot from 2024-11-26 15-08-54
Screenshot from 2024-11-26 15-10-17

@chegewara
Copy link
Contributor Author

Thank you for confirming this.
Have a nice weekend.

@espressif-bot espressif-bot added Status: Done Issue is done internally Resolution: Done Issue is done internally and removed Status: Opened Issue is new labels Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

4 participants