Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Wi-Fi Bluetooth for Linux Forum Discussions

Lavanya
Level 1
Level 1
10 sign-ins First like received 5 replies posted

Hi I went the another thread 

https://community.infineon.com/t5/Wi-Fi-Bluetooth-for-Linux/Monitor-Mode-Feature-on-CYW43455/td-p/13...

and followed the steps but I dont get any using 80211 packets in the dump following the below mention steps

wl down
wl mpc 0
wl up
wl monitor 1
ifconfig wlan0 up
wl channel 6
tcpdump -ni wlan0 -s0 -w test.pcap

Also I added debug code in brcmf_netif_mon_rx of

~/FMAC/src/v5.4.18-backports/drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c

I dont see those prints neither in 

if (brcmf_feat_is_enabled(ifp, BRCMF_FEAT_MONITOR_FMT_RADIOTAP)) {
/* Do nothing */

or in else part.

Can some one help me how to I get the 80211 packets?

I am using backports driver v5.4.18-backports

Thanks,

Lavanya

0 Likes
6 Replies
Qi_Colin
Moderator
Moderator
Moderator
250 sign-ins 50 solutions authored 25 likes received

Hi @Lavanya :

Please send "iwconfig" to check whether a monitor mode interface has been created or not.

Best Regards,

Colin

 

0 Likes

Hi Qi_Colin

we have wl tool but not iwconfig I am pasting your the ifconfig output

 

wlan0 Link encap:Ethernet HWaddr 
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:6399 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1807441 (1.7 MiB) TX bytes:0 (0.0 B)

0 Likes
Lavanya
Level 1
Level 1
10 sign-ins First like received 5 replies posted

I get packets shown in the screen shot

Lavanya_0-1673420230780.png

 

 

0 Likes
Qi_Colin
Moderator
Moderator
Moderator
250 sign-ins 50 solutions authored 25 likes received

Hi @Lavanya :

According to the screen shot, you don't get the 80211 packets after setting monitor mode.

I need check the driver and feedback to you.

Best Regards,

Colin

0 Likes
Lavanya
Level 1
Level 1
10 sign-ins First like received 5 replies posted

Thank Colin, any patch is available for v5.4.18-backports, FMAC driver?

0 Likes
Qi_Colin
Moderator
Moderator
Moderator
250 sign-ins 50 solutions authored 25 likes received

Hi @Lavanya :

Sorry for reply later.

Currently no patch yet, and I'm checking for this question.

Any update I will share to you.

Best Regards,

Colin

0 Likes