You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/06/14 15:07:21 UTC

[GitHub] [incubator-nuttx] anchao commented on a diff in pull request #6432: wireless/bcm43xxx: add extended join parameters

anchao commented on code in PR #6432:
URL: https://github.com/apache/incubator-nuttx/pull/6432#discussion_r896948471


##########
drivers/wireless/ieee80211/bcm43xxx/bcmf_ioctl.h:
##########
@@ -236,6 +239,40 @@ typedef struct wl_join_scan_params
                          * between channel scans */
 } wl_join_scan_params_t;
 
+/** used for association with a specific BSSID and chanspec list */
+
+typedef struct wl_assoc_params
+{
+  struct ether_addr bssid;            /* 00:00:00:00:00:00: broadcast scan */
+  uint16_t          bssid_cnt;        /* 0: use chanspec_num, and the single bssid,
+                                       * otherwise count of chanspecs in chanspec_list
+                                       * AND paired bssids following chanspec_list
+                                       * also, chanspec_num has to be set to zero
+                                       * for bssid list to be used
+                                       */
+  int32_t           chanspec_num;     /* 0: all available channels,
+                                       * otherwise count of chanspecs in chanspec_list */
+  chanspec_t        chanspec_list[1]; /* list of chanspecs */
+} wl_assoc_params_t;
+
+/** used for association to a specific BSSID and channel */
+
+typedef wl_assoc_params_t wl_join_assoc_params_t;
+
+/** extended join params */
+
+typedef struct wl_extjoin_params
+{
+  wlc_ssid_t             ssid;  /* {0, ""}: wildcard scan */
+  wl_join_scan_params_t  scan;
+  wl_join_assoc_params_t assoc; /* optional field, but it must include the fixed portion
+                                 * of the wl_join_assoc_params_t struct when it does
+                                 * present. */
+} wl_extjoin_params_t;
+
+#define WL_EXTJOIN_PARAMS_FIXED_SIZE  (sizeof(wl_extjoin_params_t, assoc) + \

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org