#16892: Luci Realtime Wireless graph broken in trunk due to new static function
declarations in iwinfo
-----------------------+---------------------------------------
  Reporter:  syoder@…  |      Owner:  developers
      Type:  defect    |     Status:  new
  Priority:  normal    |  Milestone:  Attitude Adjustment 12.09
 Component:  packages  |    Version:  Trunk
Resolution:            |   Keywords:
-----------------------+---------------------------------------

Comment (by hnyman):

 I am not sure if the proposed fix is to the intended direction. The goal
 of the changes around 40809-40816 was to make iwinfo a bit more abstract
 by hiding the platform backend (madwifi, nl80211, ...) functions by making
 them static.

 
https://dev.openwrt.org/changeset?new=40816@trunk%2Fpackage%2Fnetwork%2Futils%2Fiwinfo&old=40808@trunk%2Fpackage%2Fnetwork%2Futils%2Fiwinfo

 The proposed patch would partially undo the change.

 It would be more along ndb's intentions to change luci-bwc to support the
 new methods defined by the ops array.

 http://luci.subsignal.org/trac/browser/luci/trunk/modules/admin-full/src
 /luci-bwc.c#L260

 The line
   iw_get_rate  = dlsym(iw, "madwifi_get_bitrate");
 should probably be
   iw_get_rate  = dlsym(iw, "madwifi_ops.bitrate");


 I have not yet tried it, but that looks more in line with the changes.

--
Ticket URL: <https://dev.openwrt.org/ticket/16892#comment:2>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to