mac.c (fd71f807376437756bfab0ee21d5978a7b05a0f5) | mac.c (ef8c00174a8738ea334197c0164143354644cb16) |
---|---|
1/* 2 * Copyright (c) 2005-2011 Atheros Communications Inc. 3 * Copyright (c) 2011-2013 Qualcomm Atheros, Inc. 4 * 5 * Permission to use, copy, modify, and/or distribute this software for any 6 * purpose with or without fee is hereby granted, provided that the above 7 * copyright notice and this permission notice appear in all copies. 8 * --- 1634 unchanged lines hidden (view full) --- 1643 if (ret) 1644 ath10k_warn("could not update channel list (%d)\n", ret); 1645 1646 regpair = ar->ath_common.regulatory.regpair; 1647 1648 /* Target allows setting up per-band regdomain but ath_common provides 1649 * a combined one only */ 1650 ret = ath10k_wmi_pdev_set_regdomain(ar, | 1/* 2 * Copyright (c) 2005-2011 Atheros Communications Inc. 3 * Copyright (c) 2011-2013 Qualcomm Atheros, Inc. 4 * 5 * Permission to use, copy, modify, and/or distribute this software for any 6 * purpose with or without fee is hereby granted, provided that the above 7 * copyright notice and this permission notice appear in all copies. 8 * --- 1634 unchanged lines hidden (view full) --- 1643 if (ret) 1644 ath10k_warn("could not update channel list (%d)\n", ret); 1645 1646 regpair = ar->ath_common.regulatory.regpair; 1647 1648 /* Target allows setting up per-band regdomain but ath_common provides 1649 * a combined one only */ 1650 ret = ath10k_wmi_pdev_set_regdomain(ar, |
1651 regpair->regDmnEnum, 1652 regpair->regDmnEnum, /* 2ghz */ 1653 regpair->regDmnEnum, /* 5ghz */ | 1651 regpair->reg_domain, 1652 regpair->reg_domain, /* 2ghz */ 1653 regpair->reg_domain, /* 5ghz */ |
1654 regpair->reg_2ghz_ctl, 1655 regpair->reg_5ghz_ctl); 1656 if (ret) 1657 ath10k_warn("could not set pdev regdomain (%d)\n", ret); 1658} 1659 1660static void ath10k_reg_notifier(struct wiphy *wiphy, 1661 struct regulatory_request *request) --- 2691 unchanged lines hidden --- | 1654 regpair->reg_2ghz_ctl, 1655 regpair->reg_5ghz_ctl); 1656 if (ret) 1657 ath10k_warn("could not set pdev regdomain (%d)\n", ret); 1658} 1659 1660static void ath10k_reg_notifier(struct wiphy *wiphy, 1661 struct regulatory_request *request) --- 2691 unchanged lines hidden --- |