-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 291580 b: refs/heads/master c: 2770747 h: refs/heads/master v: v3
- Loading branch information
David S. Miller
committed
Mar 19, 2012
1 parent
db9eaa4
commit 625651b
Showing
267 changed files
with
7,301 additions
and
7,410 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 5407b14c6792d6ff122ecb1a2a6acffad60ef389 | ||
refs/heads/master: 277074777cd9c004b1ac32689772370c38fd00e2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
* STMicroelectronics 10/100/1000 Ethernet driver (GMAC) | ||
|
||
Required properties: | ||
- compatible: Should be "st,spear600-gmac" | ||
- reg: Address and length of the register set for the device | ||
- interrupt-parent: Should be the phandle for the interrupt controller | ||
that services interrupts for this device | ||
- interrupts: Should contain the STMMAC interrupts | ||
- interrupt-names: Should contain the interrupt names "macirq" | ||
"eth_wake_irq" if this interrupt is supported in the "interrupts" | ||
property | ||
- phy-mode: String, operation mode of the PHY interface. | ||
Supported values are: "mii", "rmii", "gmii", "rgmii". | ||
|
||
Optional properties: | ||
- mac-address: 6 bytes, mac address | ||
|
||
Examples: | ||
|
||
gmac0: ethernet@e0800000 { | ||
compatible = "st,spear600-gmac"; | ||
reg = <0xe0800000 0x8000>; | ||
interrupt-parent = <&vic1>; | ||
interrupts = <24 23>; | ||
interrupt-names = "macirq", "eth_wake_irq"; | ||
mac-address = [000000000000]; /* Filled in by U-Boot */ | ||
phy-mode = "gmii"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
99 changes: 99 additions & 0 deletions
99
trunk/Documentation/networking/mac80211-auth-assoc-deauth.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
# | ||
# This outlines the Linux authentication/association and | ||
# deauthentication/disassociation flows. | ||
# | ||
# This can be converted into a diagram using the service | ||
# at http://www.websequencediagrams.com/ | ||
# | ||
|
||
participant userspace | ||
participant mac80211 | ||
participant driver | ||
|
||
alt authentication needed (not FT) | ||
userspace->mac80211: authenticate | ||
|
||
alt authenticated/authenticating already | ||
mac80211->driver: sta_state(AP, not-exists) | ||
mac80211->driver: bss_info_changed(clear BSSID) | ||
else associated | ||
note over mac80211,driver | ||
like deauth/disassoc, without sending the | ||
BA session stop & deauth/disassoc frames | ||
end note | ||
end | ||
|
||
mac80211->driver: config(channel, non-HT) | ||
mac80211->driver: bss_info_changed(set BSSID, basic rate bitmap) | ||
mac80211->driver: sta_state(AP, exists) | ||
|
||
alt no probe request data known | ||
mac80211->driver: TX directed probe request | ||
driver->mac80211: RX probe response | ||
end | ||
|
||
mac80211->driver: TX auth frame | ||
driver->mac80211: RX auth frame | ||
|
||
alt WEP shared key auth | ||
mac80211->driver: TX auth frame | ||
driver->mac80211: RX auth frame | ||
end | ||
|
||
mac80211->driver: sta_state(AP, authenticated) | ||
mac80211->userspace: RX auth frame | ||
|
||
end | ||
|
||
userspace->mac80211: associate | ||
alt authenticated or associated | ||
note over mac80211,driver: cleanup like for authenticate | ||
end | ||
|
||
alt not previously authenticated (FT) | ||
mac80211->driver: config(channel, non-HT) | ||
mac80211->driver: bss_info_changed(set BSSID, basic rate bitmap) | ||
mac80211->driver: sta_state(AP, exists) | ||
mac80211->driver: sta_state(AP, authenticated) | ||
end | ||
mac80211->driver: TX assoc | ||
driver->mac80211: RX assoc response | ||
note over mac80211: init rate control | ||
mac80211->driver: sta_state(AP, associated) | ||
|
||
alt not using WPA | ||
mac80211->driver: sta_state(AP, authorized) | ||
end | ||
|
||
mac80211->driver: set up QoS parameters | ||
|
||
alt is HT channel | ||
mac80211->driver: config(channel, HT params) | ||
end | ||
|
||
mac80211->driver: bss_info_changed(QoS, HT, associated with AID) | ||
mac80211->userspace: associated | ||
|
||
note left of userspace: associated now | ||
|
||
alt using WPA | ||
note over userspace | ||
do 4-way-handshake | ||
(data frames) | ||
end note | ||
userspace->mac80211: authorized | ||
mac80211->driver: sta_state(AP, authorized) | ||
end | ||
|
||
userspace->mac80211: deauthenticate/disassociate | ||
mac80211->driver: stop BA sessions | ||
mac80211->driver: TX deauth/disassoc | ||
mac80211->driver: flush frames | ||
mac80211->driver: sta_state(AP,associated) | ||
mac80211->driver: sta_state(AP,authenticated) | ||
mac80211->driver: sta_state(AP,exists) | ||
mac80211->driver: sta_state(AP,not-exists) | ||
mac80211->driver: turn off powersave | ||
mac80211->driver: bss_info_changed(clear BSSID, not associated, no QoS, ...) | ||
mac80211->driver: config(non-HT channel type) | ||
mac80211->userspace: disconnected |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.