Ticket #906 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

Correctly set pkttype field in monitor mode frames

Reported by: scottraynel@gmail.com Assigned to:
Priority: major Milestone: version 0.9.3
Component: madwifi: 802.11 stack Version: trunk
Keywords: Cc:
Patch is attached: 1 Pending:

Description

This patch correctly sets the socket buffer's pkttype field to match the direction of the captured frame. Previously all packets were being marked as PACKET_OTHERHOST.

Signed-off-by: Scott Raynel <scottraynel@gmail.com>

Attachments

madwifi_monitor_direction.patch (1.2 kB) - added by scottraynel@gmail.com on 09/21/06 01:53:34.
Correctly set pkt_type on captured frames in monitor mode
madwifi_monitor_direction_2.patch (1.2 kB) - added by scottraynel@gmail.com on 09/21/06 09:51:38.
Fixed compile warning. Signed-off-by: Scott Raynel <scottraynel@gmail.com>

Change History

09/21/06 01:53:34 changed by scottraynel@gmail.com

  • attachment madwifi_monitor_direction.patch added.

Correctly set pkt_type on captured frames in monitor mode

09/21/06 06:03:04 changed by mrenzmann

  • type changed from defect to enhancement.
  • milestone set to version 0.9.3.

Patch looks good and ready for being committed.

09/21/06 08:55:30 changed by kelmo

Needs a little cleanup:

cc1: warnings being treated as errors
/home/kel/madwifi/madwifi/net80211/ieee80211_monitor.c: In function 'ieee80211_input_monitor':
/home/kel/madwifi/madwifi/net80211/ieee80211_monitor.c:241: warning: ISO C90 forbids mixed declarations and code
make[3]: *** [/home/kel/madwifi/madwifi/net80211/ieee80211_monitor.o] Error 1

09/21/06 09:51:38 changed by scottraynel@gmail.com

  • attachment madwifi_monitor_direction_2.patch added.

Fixed compile warning. Signed-off-by: Scott Raynel <scottraynel@gmail.com>

09/22/06 19:34:37 changed by mentor

  • status changed from new to closed.
  • resolution set to fixed.

Add/Change #906 (Correctly set pkttype field in monitor mode frames)