Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add WMM support to wpa_mesh_new_mesh_peer / beacons #12

Open
silverjam opened this issue Apr 25, 2014 · 0 comments
Open

Add WMM support to wpa_mesh_new_mesh_peer / beacons #12

silverjam opened this issue Apr 25, 2014 · 0 comments

Comments

@silverjam
Copy link
Member

Issue by silverjam from Thursday Apr 24, 2014 at 23:22 GMT
Originally opened as cozybit/wpa_s_mesh_android#30


+void
+wpa_mesh_new_mesh_peer(struct wpa_supplicant *wpa_s, const u8 *addr,

  •                  struct ieee802_11_elems *elems)
    
    +{
  •   struct hostapd_sta_add_params params;
    
  •   /\* struct wmm_information_element *wmm; */
    
  •   struct mesh_conf *conf = wpa_s->ifmsh->mconf;
    
  •   struct hostapd_data *data = wpa_s->ifmsh->bss[0];
    
  •   struct sta_info *sta;
    
  •   int ret = 0;
    
  •   sta = ap_get_sta(data, addr);
    
  •   if (!sta) {
    
  •           sta = ap_sta_add(data, addr);
    
  •           if (!sta)
    
  •                   return;
    
  •   }
    
  •   /\* initialize sta */
    
  •   if (copy_supp_rates(wpa_s, sta, elems))
    
  •           return;
    
  •   /\* TODO: our beacons currently don't include this */
    
  •   /*
    
  •   if (!elems->wmm) {
    
  •           wpa_msg(wpa_s, MSG_ERROR, "all mesh STAs should have a QoS IE!");
    
  •           return;
    
  •   }
    
  •   wmm = (struct wmm_information_element *) elems->wmm;
    
  •   sta->qosinfo = wmm->qos_info;
    
  •   */
    
bcopeland added a commit that referenced this issue May 6, 2014
- Create mesh_join and mesh_leave actions to kernel.
- Handle new_peer_candidate events from kernel.
- Register to receive necessary frames.
- Add plink_action_field and mesh_power_mode to hostapd_sta_add_params

Signed-off-by: Javier Lopez <[email protected]>
Signed-off-by: Javier Cardona <[email protected]>
Signed-off-by: Jason Mobarak <[email protected]>

Signed-hostap: Bob Copeland <[email protected]>

---

v2: - Split out the widing of the drv_flags / flags into separate patch.
    - Squash with "Clarify comment on TODO" cozybit/wpa_s_mesh_android@9543020
    - Squash with "Add plink_action_field and mesh_power_mode to hostapd_sta_add_params" cozybit/wpa_s_mesh_android@89d29f6
    - Squash with "Clarify comment (issue #10)" cozybit/wpa_s_mesh_android@21734bc
    - Squash with "closes #12" cozybit/wpa_s_mesh_android@4d7209e
    - Squash with "Closes #16" cozybit/wpa_s_mesh_android@fa05631
    - Squash with "No default mesh frequency. Closes #18" cozybit/wpa_s_mesh_android@03f80b9
    - Squash with "Closes #19" cozybit/wpa_s_mesh_android@3cf9b4c
    - Squash with "Set mesh authentication protocol id in mesh config" cozybit/wpa_s_mesh_android@caaf6ee
    - Squash with "PLINK_CLOSE can have only MESHID and MPM IEs" cozybit/wpa_s_mesh_android@6c4fd81

v3: Remove workaround for NL80211_FEATURE_SK_TX_STATUS
v4: No changes
v5: Removed extraneous else for NL80211_FEATURE_SK_TX_STATUS change
v6: Updated email addresses, added signed-hostap for Bob
bcopeland added a commit that referenced this issue May 7, 2014
- Create mesh_join and mesh_leave actions to kernel.
- Handle new_peer_candidate events from kernel.
- Register to receive necessary frames.
- Add plink_action_field and mesh_power_mode to hostapd_sta_add_params

Signed-off-by: Javier Lopez <[email protected]>
Signed-off-by: Javier Cardona <[email protected]>
Signed-off-by: Jason Mobarak <[email protected]>
Signed-hostap: Bob Copeland <[email protected]>

---

v2: - Split out the widing of the drv_flags / flags into separate patch.
    - Squash with "Clarify comment on TODO" cozybit/wpa_s_mesh_android@9543020
    - Squash with "Add plink_action_field and mesh_power_mode to hostapd_sta_add_params" cozybit/wpa_s_mesh_android@89d29f6
    - Squash with "Clarify comment (issue #10)" cozybit/wpa_s_mesh_android@21734bc
    - Squash with "closes #12" cozybit/wpa_s_mesh_android@4d7209e
    - Squash with "Closes #16" cozybit/wpa_s_mesh_android@fa05631
    - Squash with "No default mesh frequency. Closes #18" cozybit/wpa_s_mesh_android@03f80b9
    - Squash with "Closes #19" cozybit/wpa_s_mesh_android@3cf9b4c
    - Squash with "Set mesh authentication protocol id in mesh config" cozybit/wpa_s_mesh_android@caaf6ee
    - Squash with "PLINK_CLOSE can have only MESHID and MPM IEs" cozybit/wpa_s_mesh_android@6c4fd81

v3: Remove workaround for NL80211_FEATURE_SK_TX_STATUS
v4: No changes
v5: Removed extraneous else for NL80211_FEATURE_SK_TX_STATUS change
v6: Updated email addresses, added signed-hostap for Bob
v7: remove blank lines
bcopeland added a commit that referenced this issue May 9, 2014
- Create mesh_join and mesh_leave actions to kernel.
- Handle new_peer_candidate events from kernel.
- Register to receive necessary frames.
- Add plink_action_field and mesh_power_mode to hostapd_sta_add_params

Signed-off-by: Javier Lopez <[email protected]>
Signed-off-by: Javier Cardona <[email protected]>
Signed-off-by: Jason Mobarak <[email protected]>
Signed-hostap: Bob Copeland <[email protected]>

---

v2: - Split out the widing of the drv_flags / flags into separate patch.
    - Squash with "Clarify comment on TODO" cozybit/wpa_s_mesh_android@9543020
    - Squash with "Add plink_action_field and mesh_power_mode to hostapd_sta_add_params" cozybit/wpa_s_mesh_android@89d29f6
    - Squash with "Clarify comment (issue #10)" cozybit/wpa_s_mesh_android@21734bc
    - Squash with "closes #12" cozybit/wpa_s_mesh_android@4d7209e
    - Squash with "Closes #16" cozybit/wpa_s_mesh_android@fa05631
    - Squash with "No default mesh frequency. Closes #18" cozybit/wpa_s_mesh_android@03f80b9
    - Squash with "Closes #19" cozybit/wpa_s_mesh_android@3cf9b4c
    - Squash with "Set mesh authentication protocol id in mesh config" cozybit/wpa_s_mesh_android@caaf6ee
    - Squash with "PLINK_CLOSE can have only MESHID and MPM IEs" cozybit/wpa_s_mesh_android@6c4fd81

v3: Remove workaround for NL80211_FEATURE_SK_TX_STATUS
v4: No changes
v5: Removed extraneous else for NL80211_FEATURE_SK_TX_STATUS change
v6: Updated email addresses, added signed-hostap for Bob
v7: remove blank lines
bcopeland added a commit that referenced this issue May 30, 2014
- To support mesh mode, use u64 to fit all necessary driver flags.
- Create mesh_join and mesh_leave actions to kernel.
- Handle new_peer_candidate events from kernel.
- Register to receive necessary frames.
- Add plink_action_field and mesh_power_mode to hostapd_sta_add_params

Signed-off-by: Javier Lopez <[email protected]>
Signed-off-by: Javier Cardona <[email protected]>
Signed-off-by: Jason Mobarak <[email protected]>
Signed-hostap: Bob Copeland <[email protected]>

---

v2: - Split out the widing of the drv_flags / flags into separate patch.
    - Squash with "Clarify comment on TODO" cozybit/wpa_s_mesh_android@9543020
    - Squash with "Add plink_action_field and mesh_power_mode to hostapd_sta_add_params" cozybit/wpa_s_mesh_android@89d29f6
    - Squash with "Clarify comment (issue #10)" cozybit/wpa_s_mesh_android@21734bc
    - Squash with "closes #12" cozybit/wpa_s_mesh_android@4d7209e
    - Squash with "Closes #16" cozybit/wpa_s_mesh_android@fa05631
    - Squash with "No default mesh frequency. Closes #18" cozybit/wpa_s_mesh_android@03f80b9
    - Squash with "Closes #19" cozybit/wpa_s_mesh_android@3cf9b4c
    - Squash with "Set mesh authentication protocol id in mesh config" cozybit/wpa_s_mesh_android@caaf6ee
    - Squash with "PLINK_CLOSE can have only MESHID and MPM IEs" cozybit/wpa_s_mesh_android@6c4fd81

v3: Remove workaround for NL80211_FEATURE_SK_TX_STATUS
v4: No changes
v5: Removed extraneous else for NL80211_FEATURE_SK_TX_STATUS change
v6: Updated email addresses, added signed-hostap for Bob
v7: remove blank lines
v8: add u64 driver flags
bcopeland added a commit that referenced this issue Jun 30, 2014
- To support mesh mode, use u64 to fit all necessary driver flags.
- Create mesh_join and mesh_leave actions to kernel.
- Handle new_peer_candidate events from kernel.
- Register to receive necessary frames.
- Add plink_action_field and mesh_power_mode to hostapd_sta_add_params

Signed-off-by: Javier Lopez <[email protected]>
Signed-off-by: Javier Cardona <[email protected]>
Signed-off-by: Jason Mobarak <[email protected]>
Signed-hostap: Bob Copeland <[email protected]>

---

v2: - Split out the widing of the drv_flags / flags into separate patch.
    - Squash with "Clarify comment on TODO" cozybit/wpa_s_mesh_android@9543020
    - Squash with "Add plink_action_field and mesh_power_mode to hostapd_sta_add_params" cozybit/wpa_s_mesh_android@89d29f6
    - Squash with "Clarify comment (issue #10)" cozybit/wpa_s_mesh_android@21734bc
    - Squash with "closes #12" cozybit/wpa_s_mesh_android@4d7209e
    - Squash with "Closes #16" cozybit/wpa_s_mesh_android@fa05631
    - Squash with "No default mesh frequency. Closes #18" cozybit/wpa_s_mesh_android@03f80b9
    - Squash with "Closes #19" cozybit/wpa_s_mesh_android@3cf9b4c
    - Squash with "Set mesh authentication protocol id in mesh config" cozybit/wpa_s_mesh_android@caaf6ee
    - Squash with "PLINK_CLOSE can have only MESHID and MPM IEs" cozybit/wpa_s_mesh_android@6c4fd81

v3: Remove workaround for NL80211_FEATURE_SK_TX_STATUS
v4: No changes
v5: Removed extraneous else for NL80211_FEATURE_SK_TX_STATUS change
v6: Updated email addresses, added signed-hostap for Bob
v7: remove blank lines
v8: add u64 driver flags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant