New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 755268 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Sep 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Blocking:
issue 702007



Sign in to add a comment

whirlwind testbed-ap wireless-4.2 send_management_frame fails

Project Member Reported by ecgh@chromium.org, Aug 14 2017

Issue description

whirlwind testbed-ap build using wireless-4.2 causes tests network_WiFi_ChannelScanDwellTime, network_WiFi_MalformedProbeResp to fail, because send_management_frame is not working.

The problem is similar to issue 504512, which got send_management_frame working with wireless-3.18: "Seems like bringing up an AP DEV is indeed the magic we need".

With wireless-4.2, the magic is no longer powerful enough. ieee80211_monitor_start_xmit in mac80211-4.2/tx.c fails because ath10k started using channel context in 4.2.

I think I need to find a way to configure the channel context on the AP dev to make send_management_frame work.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Sep 29 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/402aec53fc7913f45e9b2a1fd26d31fef9ef106d

commit 402aec53fc7913f45e9b2a1fd26d31fef9ef106d
Author: Edward Hill <ecgh@chromium.org>
Date: Fri Sep 29 21:35:33 2017

Create hostap instance for FrameSender on whirlwind

Creating an AP mode interface was enough to allow packet injection
with wireless-3.18 (CL:287305). Moving to wireless-4.2, ath10k
started using channel context. Using hostap configures the channel
context and makes packet injection work with wireless-4.2.

BUG= chromium:755268 
TEST=network_WiFi_MalformedProbeResp
TEST=network_WiFi_ChannelScanDwellTime
(on stumpy stable (R47-7424), whirlwind stable (R50-7849)
and whirlwind dev build)

Change-Id: I011a28c9782021e5b442660bedc78d30c8a90ccc
Reviewed-on: https://chromium-review.googlesource.com/621298
Commit-Ready: Edward Hill <ecgh@chromium.org>
Tested-by: Edward Hill <ecgh@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>

[modify] https://crrev.com/402aec53fc7913f45e9b2a1fd26d31fef9ef106d/server/cros/network/frame_sender.py
[modify] https://crrev.com/402aec53fc7913f45e9b2a1fd26d31fef9ef106d/server/site_linux_router.py
[modify] https://crrev.com/402aec53fc7913f45e9b2a1fd26d31fef9ef106d/server/site_tests/network_WiFi_ChannelScanDwellTime/network_WiFi_ChannelScanDwellTime.py
[modify] https://crrev.com/402aec53fc7913f45e9b2a1fd26d31fef9ef106d/server/site_tests/network_WiFi_MalformedProbeResp/network_WiFi_MalformedProbeResp.py

Comment 2 by ecgh@chromium.org, Sep 29 2017

Status: Fixed (was: Started)

Comment 3 by ecgh@chromium.org, Oct 10 2017

Cc: sduvvuri@chromium.org grundler@chromium.org
 Issue 577391  has been merged into this issue.

Sign in to add a comment