Modify

Opened 6 years ago

Last modified 4 years ago

#11195 accepted defect

iwinfo mistakes broadcom STA mode for Monitor mode

Reported by: Tobias Wolf <towolf@…> Owned by: jow
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

This is in Broadcom Bridged Client mode. Current trunk.

root@karibu:/etc/config# iwconfig wl0
wl0       IEEE 802.11bgn  ESSID:"someap"  
          Mode:Managed  Frequency:2.442 GHz  Access Point: C4:3D:C7:xx:xx:xx   
          Bit Rate=57.5 Mb/s   Tx-Power:32 dBm   
          RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=5/5  Signal level=-44 dBm  Noise level=-87 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:4  Invalid misc:0   Missed beacon:0

root@karibu:/etc/config# iwinfo wl0 info
wl0       ESSID: "someap"
          Access Point: C4:3D:C7:xx:xx:xx
          Mode: Monitor  Channel: 7 (2.442 GHz)
          Tx-Power: 32 dBm  Link Quality: 5/5
          Signal: -44 dBm  Noise: -90 dBm
          Bit Rate: 135.0 MBit/s
          Encryption: none
          Type: wl  HW Mode(s): 802.11bg
          Hardware: 14E4:4329 1043:120F [Broadcom BCM4329]
          TX power offset: none
          Frequency offset: unknown
          Supports VAPs: yes

Attachments (0)

Change History (4)

comment:1 Changed 6 years ago by jow

  • Owner changed from developers to jow
  • Status changed from new to accepted

comment:2 Changed 6 years ago by jow

towolf, can you please add the patch below and send me the outputted modeflags?

--- package/iwinfo/src/iwinfo_wl.c	(Revision 31079)
+++ package/iwinfo/src/iwinfo_wl.c	(Arbeitskopie)
@@ -96,6 +96,8 @@
 	if ((ret = wl_ioctl(ifname, WLC_GET_PASSIVE, &passive, sizeof(passive))))
 		return ret;
 
+	printf("Modeflags: AP=%d INFRA=%d PASSIVE=%d\n", ap, infra, passive);
+
 	if (passive)
 		*buf = IWINFO_OPMODE_MONITOR;
 	else if (!infra)

comment:3 Changed 6 years ago by Tobias Wolf <towolf@…>

Okay, now after another reboot I cannot repro anymore. Perhaps before it got stuck in a weird place. But it never was in Monitor mode.

root@karibu:~# iwinfo wl0 i
wl0       ESSID: "apapap"
          Access Point: C4:3D:C7:xx:xx:xx
Modeflags: AP=0 INFRA=1 PASSIVE=0
          Mode: Client  Channel: 9 (2.452 GHz)
          Tx-Power: 32 dBm  Link Quality: 5/5
          Signal: -49 dBm  Noise: -90 dBm
          Bit Rate: 130.0 MBit/s
          Encryption: none
          Type: wl  HW Mode(s): 802.11bg
          Hardware: 14E4:4329 1043:120F [Broadcom BCM4329]
          TX power offset: none
          Frequency offset: unknown
          Supports VAPs: yes

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as accepted .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.