)]}'
{
  "commit": "371842448c05b42d11a4be1c8e4e81d62ecc7534",
  "tree": "37c6f66d8a34999801cd09abffd7d7b66c0925dd",
  "parents": [
    "cd3468bad96c00b5a512f551674f36776129520e"
  ],
  "author": {
    "name": "Luis R. Rodriguez",
    "email": "lrodriguez@atheros.com",
    "time": "Thu Jul 30 17:43:48 2009 -0700"
  },
  "committer": {
    "name": "John W. Linville",
    "email": "linville@tuxdriver.com",
    "time": "Mon Aug 03 16:31:21 2009 -0400"
  },
  "message": "cfg80211: fix regression on beacon world roaming feature\n\nA regression was added through patch a4ed90d6:\n\n\"cfg80211: respect API on orig_flags on channel for beacon hint\"\n\nWe did indeed respect _orig flags but the intention was not clearly\nstated in the commit log. This patch fixes firmware issues picked\nup by iwlwifi when we lift passive scan of beaconing restrictions\non channels its EEPROM has been configured to always enable.\n\nBy doing so though we also disallowed beacon hints on devices\nregistering their wiphy with custom world regulatory domains\nenabled, this happens to be currently ath5k, ath9k and ar9170.\nThe passive scan and beacon restrictions on those devices would\nnever be lifted even if we did find a beacon and the hardware did\nsupport such enhancements when world roaming.\n\nSince Johannes indicates iwlwifi firmware cannot be changed to\nallow beacon hinting we set up a flag now to specifically allow\ndrivers to disable beacon hints for devices which cannot use them.\n\nWe enable the flag on iwlwifi to disable beacon hints and by default\nenable it for all other drivers. It should be noted beacon hints lift\npassive scan flags and beacon restrictions when we receive a beacon from\nan AP on any 5 GHz non-DFS channels, and channels 12-14 on the 2.4 GHz\nband. We don\u0027t bother with channels 1-11 as those channels are allowed\nworld wide.\n\nThis should fix world roaming for ath5k, ath9k and ar9170, thereby\nimproving scan time when we receive the first beacon from any AP,\nand also enabling beaconing operation (AP/IBSS/Mesh) on cards which\nwould otherwise not be allowed to do so. Drivers not using custom\nregulatory stuff (wiphy_apply_custom_regulatory()) were not affected\nby this as the orig_flags for the channels would have been cleared\nupon wiphy registration.\n\nI tested this with a world roaming ath5k card.\n\nCc: Jouni Malinen \u003cjouni.malinen@atheros.com\u003e\nSigned-off-by: Luis R. Rodriguez \u003clrodriguez@atheros.com\u003e\nReviewed-by: Johannes Berg \u003cjohannes@sipsolutions.net\u003e\nSigned-off-by: John W. Linville \u003clinville@tuxdriver.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6ab07165ea28af4a226cbf7d29d6b9d58b6fa8fe",
      "old_mode": 33188,
      "old_path": "drivers/net/wireless/iwlwifi/iwl-core.c",
      "new_id": "18b135f510e5dc86f5a08d1e5fa5881de5c85e65",
      "new_mode": 33188,
      "new_path": "drivers/net/wireless/iwlwifi/iwl-core.c"
    },
    {
      "type": "modify",
      "old_id": "2f50ab60bfdf801bb90cd9810f27963b9b906857",
      "old_mode": 33188,
      "old_path": "drivers/net/wireless/iwlwifi/iwl3945-base.c",
      "new_id": "523843369ca2477154b7274404b719bbd15510ed",
      "new_mode": 33188,
      "new_path": "drivers/net/wireless/iwlwifi/iwl3945-base.c"
    },
    {
      "type": "modify",
      "old_id": "1a21895b732bbd5821b419a0a6e239dbd5c3b904",
      "old_mode": 33188,
      "old_path": "include/net/cfg80211.h",
      "new_id": "d1892d66701abf2d085ab9f2bfa7ba364e657de0",
      "new_mode": 33188,
      "new_path": "include/net/cfg80211.h"
    },
    {
      "type": "modify",
      "old_id": "5e14371cda704c2c103df0449f929069752148f8",
      "old_mode": 33188,
      "old_path": "net/wireless/reg.c",
      "new_id": "75a406d33619698ecb00b3be5dbbfb75f6d33f31",
      "new_mode": 33188,
      "new_path": "net/wireless/reg.c"
    },
    {
      "type": "modify",
      "old_id": "e37829a49dc466fad9a6aff92361afcc26371ad7",
      "old_mode": 33188,
      "old_path": "net/wireless/reg.h",
      "new_id": "4e167a8e11be9352edf259070cd3c390a79a76da",
      "new_mode": 33188,
      "new_path": "net/wireless/reg.h"
    }
  ]
}
