@@ -874,35 +874,40 @@ ieee80211_bss(struct wiphy *wiphy, struct iw_request_info *info,
874874 cfg = ie + 2 ;
875875 memset (& iwe , 0 , sizeof (iwe ));
876876 iwe .cmd = IWEVCUSTOM ;
877- sprintf (buf , "Mesh network (version %d)" , cfg [0 ]);
877+ sprintf (buf , "Mesh Network Path Selection Protocol ID: "
878+ "0x%02X" , cfg [0 ]);
878879 iwe .u .data .length = strlen (buf );
879880 current_ev = iwe_stream_add_point (info , current_ev ,
880881 end_buf ,
881882 & iwe , buf );
882- sprintf (buf , "Path Selection Protocol ID: "
883- "0x%02X%02X%02X%02X" , cfg [1 ], cfg [2 ], cfg [3 ],
884- cfg [4 ]);
883+ sprintf (buf , "Path Selection Metric ID: 0x%02X" ,
884+ cfg [1 ]);
885885 iwe .u .data .length = strlen (buf );
886886 current_ev = iwe_stream_add_point (info , current_ev ,
887887 end_buf ,
888888 & iwe , buf );
889- sprintf (buf , "Path Selection Metric ID: "
890- "0x%02X%02X%02X%02X" , cfg [5 ], cfg [6 ], cfg [7 ],
891- cfg [8 ]);
889+ sprintf (buf , "Congestion Control Mode ID: 0x%02X" ,
890+ cfg [2 ]);
892891 iwe .u .data .length = strlen (buf );
893892 current_ev = iwe_stream_add_point (info , current_ev ,
894893 end_buf ,
895894 & iwe , buf );
896- sprintf (buf , "Congestion Control Mode ID: "
897- "0x%02X%02X%02X%02X" , cfg [9 ], cfg [10 ],
898- cfg [11 ], cfg [12 ]);
895+ sprintf (buf , "Synchronization ID: 0x%02X" , cfg [3 ]);
899896 iwe .u .data .length = strlen (buf );
900897 current_ev = iwe_stream_add_point (info , current_ev ,
901898 end_buf ,
902899 & iwe , buf );
903- sprintf (buf , "Channel Precedence: "
904- "0x%02X%02X%02X%02X" , cfg [13 ], cfg [14 ],
905- cfg [15 ], cfg [16 ]);
900+ sprintf (buf , "Authentication ID: 0x%02X" , cfg [4 ]);
901+ iwe .u .data .length = strlen (buf );
902+ current_ev = iwe_stream_add_point (info , current_ev ,
903+ end_buf ,
904+ & iwe , buf );
905+ sprintf (buf , "Formation Info: 0x%02X" , cfg [5 ]);
906+ iwe .u .data .length = strlen (buf );
907+ current_ev = iwe_stream_add_point (info , current_ev ,
908+ end_buf ,
909+ & iwe , buf );
910+ sprintf (buf , "Capabilities: 0x%02X" , cfg [6 ]);
906911 iwe .u .data .length = strlen (buf );
907912 current_ev = iwe_stream_add_point (info , current_ev ,
908913 end_buf ,
0 commit comments