Modify

Opened 8 years ago

Closed 8 years ago

Last modified 4 years ago

#6493 closed enhancement (fixed)

Add WEP support to wpa_supplicant.sh

Reported by: Stijn Tintel <stijn@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version:
Keywords: Cc:

Description

According to the comment at https://dev.openwrt.org/browser/trunk/package/mac80211/files/lib/wifi/mac80211.sh#L175, setting keymgmt = NONE would result in wpa_supplicant being used to set up WEP.

However, there are two problems:

  • Because of a logic error in mac80211.sh, wpa_supplicant_setup_vif is never called when keymgmt = NONE.
  • The script wpa_supplicant.sh does not handle WEP at all

I reported the logic error in #6491, and attached a patch that fixes it. With that patch, wpa_supplicant_setup_vif will be called when keymgmt = NONE.

What is left is to change wpa_supplicant.sh so that it will also handle WEP keys.

Attachments (1)

wpa_supplicant-add-wep-handling.diff (1.9 KB) - added by Stijn Tintel <stijn@…> 8 years ago.
Add WEP handling to wpa_supplicant.sh.

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by Stijn Tintel <stijn@…>

Add WEP handling to wpa_supplicant.sh.

comment:1 Changed 8 years ago by Stijn Tintel <stijn@…>

Please note that you also need to apply https://dev.openwrt.org/attachment/ticket/6491/mac80211-fix-iw-wep-in-station-mode.2.diff for the above patch to actually work.

comment:2 Changed 8 years ago by Stijn Tintel <stijn@…>

Patch mentioned in previous comment has been updated. Last patch from #6491 should be good.

comment:3 Changed 8 years ago by jow

  • Resolution set to fixed
  • Status changed from new to closed

Committed in r19119 - thanks!

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 closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.