diff mbox series

[v3,5/9] doc: src: Replace Master with Main.

Message ID 20210708182400.113748-5-arowa@google.com
State Superseded
Headers show
Series [v3,1/9] wpa_supplicant: hostapd: Replace MITM with PITM. | expand

Commit Message

Arowa Suliman July 8, 2021, 6:23 p.m. UTC
Replaced the words Master with the inclusive word Main.

Signed-off-by: Arowa Suliman <arowa@chromium.org>
---
 doc/doxygen.conf            | 2 +-
 src/drivers/driver_hostap.h | 4 ++--
 src/p2p/p2p.h               | 2 +-
 src/utils/pcsc_funcs.c      | 4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)

Comments

Daniel Golle July 9, 2021, 12:58 a.m. UTC | #1
Hi Arowa,

On Thu, Jul 08, 2021 at 11:23:56AM -0700, Arowa Suliman wrote:
> Replaced the words Master with the inclusive word Main.
> 
> Signed-off-by: Arowa Suliman <arowa@chromium.org>
> ---
>  doc/doxygen.conf            | 2 +-
>  src/drivers/driver_hostap.h | 4 ++--
>  src/p2p/p2p.h               | 2 +-
>  src/utils/pcsc_funcs.c      | 4 ++--
>  4 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/doc/doxygen.conf b/doc/doxygen.conf
> index 3f0117393..b283b74ba 100644
> --- a/doc/doxygen.conf
> +++ b/doc/doxygen.conf
> @@ -883,7 +883,7 @@ HHC_LOCATION           =
>  
>  # If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag
>  # controls if a separate .chi index file is generated (YES) or that
> -# it should be included in the master .chm file (NO).
> +# it should be included in the main .chm file (NO).
>  
>  GENERATE_CHI           = NO
>  
> diff --git a/src/drivers/driver_hostap.h b/src/drivers/driver_hostap.h
> index 4c1e6d69f..ab3d92ca5 100644
> --- a/src/drivers/driver_hostap.h
> +++ b/src/drivers/driver_hostap.h
> @@ -55,8 +55,8 @@ enum {
>  	PRISM2_PARAM_MONITOR_ALLOW_FCSERR = 16,
>  	PRISM2_PARAM_HOST_ENCRYPT = 17,
>  	PRISM2_PARAM_HOST_DECRYPT = 18,
> -	PRISM2_PARAM_BUS_MASTER_THRESHOLD_RX = 19,
> -	PRISM2_PARAM_BUS_MASTER_THRESHOLD_TX = 20,
> +	PRISM2_PARAM_BUS_MAIN_THRESHOLD_RX = 19,
> +	PRISM2_PARAM_BUS_MAIN_THRESHOLD_TX = 20,

I'm not sure this is an appropriate replacement.
See https://en.wikipedia.org/wiki/Bus_mastering
Imho "Bus owner" would be a good replacement for "Bus master".

>  	PRISM2_PARAM_HOST_ROAMING = 21,
>  	PRISM2_PARAM_BCRX_STA_KEY = 22,
>  	PRISM2_PARAM_IEEE_802_1X = 23,
> diff --git a/src/p2p/p2p.h b/src/p2p/p2p.h
> index f606fbb14..af13b28bd 100644
> --- a/src/p2p/p2p.h
> +++ b/src/p2p/p2p.h
> @@ -486,7 +486,7 @@ struct p2p_config {
>  	 * case for this is to include passive-scan channels on devices that may
>  	 * not know their current location and have configured most channels to
>  	 * not allow initiation of radition (i.e., another device needs to take
> -	 * master responsibilities).
> +	 * main responsibilities).

In this case I guess the writer was refering to "access point mode"
which used to be called "master mode" long time ago.
Translating that as "main" would leave me with a question mark.

>  	 */
>  	struct p2p_channels cli_channels;
>  
> diff --git a/src/utils/pcsc_funcs.c b/src/utils/pcsc_funcs.c
> index 383ed3ddf..ba3924d06 100644
> --- a/src/utils/pcsc_funcs.c
> +++ b/src/utils/pcsc_funcs.c
> @@ -90,9 +90,9 @@
>  
>  /* GSM files
>   * File type in first octet:
> - * 3F = Master File
> + * 3F = Main File
>   * 7F = Dedicated File
> - * 2F = Elementary File under the Master File
> + * 2F = Elementary File under the Main File
>   * 6F = Elementary File under a Dedicated File
>   */
>  #define SCARD_FILE_MF		0x3F00
> -- 
> 2.32.0.93.g670b81a890-goog
> 
> 
> _______________________________________________
> Hostap mailing list
> Hostap@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/hostap
Arowa Suliman July 15, 2021, 8:43 p.m. UTC | #2
Hey Daniel, thanks for the review. I really appreciate it.

On Thu, Jul 8, 2021 at 5:58 PM Daniel Golle <daniel@makrotopia.org> wrote:
>
> Hi Arowa,
>
> On Thu, Jul 08, 2021 at 11:23:56AM -0700, Arowa Suliman wrote:
> > Replaced the words Master with the inclusive word Main.
> >
> > Signed-off-by: Arowa Suliman <arowa@chromium.org>
> > ---
> >  doc/doxygen.conf            | 2 +-
> >  src/drivers/driver_hostap.h | 4 ++--
> >  src/p2p/p2p.h               | 2 +-
> >  src/utils/pcsc_funcs.c      | 4 ++--
> >  4 files changed, 6 insertions(+), 6 deletions(-)
> >
> > diff --git a/doc/doxygen.conf b/doc/doxygen.conf
> > index 3f0117393..b283b74ba 100644
> > --- a/doc/doxygen.conf
> > +++ b/doc/doxygen.conf
> > @@ -883,7 +883,7 @@ HHC_LOCATION           =
> >
> >  # If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag
> >  # controls if a separate .chi index file is generated (YES) or that
> > -# it should be included in the master .chm file (NO).
> > +# it should be included in the main .chm file (NO).
> >
> >  GENERATE_CHI           = NO
> >
> > diff --git a/src/drivers/driver_hostap.h b/src/drivers/driver_hostap.h
> > index 4c1e6d69f..ab3d92ca5 100644
> > --- a/src/drivers/driver_hostap.h
> > +++ b/src/drivers/driver_hostap.h
> > @@ -55,8 +55,8 @@ enum {
> >       PRISM2_PARAM_MONITOR_ALLOW_FCSERR = 16,
> >       PRISM2_PARAM_HOST_ENCRYPT = 17,
> >       PRISM2_PARAM_HOST_DECRYPT = 18,
> > -     PRISM2_PARAM_BUS_MASTER_THRESHOLD_RX = 19,
> > -     PRISM2_PARAM_BUS_MASTER_THRESHOLD_TX = 20,
> > +     PRISM2_PARAM_BUS_MAIN_THRESHOLD_RX = 19,
> > +     PRISM2_PARAM_BUS_MAIN_THRESHOLD_TX = 20,
>
> I'm not sure this is an appropriate replacement.
> See https://en.wikipedia.org/wiki/Bus_mastering
> Imho "Bus owner" would be a good replacement for "Bus master".
I agree with you, "Bus Owner" is more suitable here.

>
> >       PRISM2_PARAM_HOST_ROAMING = 21,
> >       PRISM2_PARAM_BCRX_STA_KEY = 22,
> >       PRISM2_PARAM_IEEE_802_1X = 23,
> > diff --git a/src/p2p/p2p.h b/src/p2p/p2p.h
> > index f606fbb14..af13b28bd 100644
> > --- a/src/p2p/p2p.h
> > +++ b/src/p2p/p2p.h
> > @@ -486,7 +486,7 @@ struct p2p_config {
> >        * case for this is to include passive-scan channels on devices that may
> >        * not know their current location and have configured most channels to
> >        * not allow initiation of radition (i.e., another device needs to take
> > -      * master responsibilities).
> > +      * main responsibilities).
>
> In this case I guess the writer was refering to "access point mode"
> which used to be called "master mode" long time ago.
> Translating that as "main" would leave me with a question mark.
With regard to "master responsibilities", I can change it to "leader
responsibilities". WDYT?

>
> >        */
> >       struct p2p_channels cli_channels;
> >
> > diff --git a/src/utils/pcsc_funcs.c b/src/utils/pcsc_funcs.c
> > index 383ed3ddf..ba3924d06 100644
> > --- a/src/utils/pcsc_funcs.c
> > +++ b/src/utils/pcsc_funcs.c
> > @@ -90,9 +90,9 @@
> >
> >  /* GSM files
> >   * File type in first octet:
> > - * 3F = Master File
> > + * 3F = Main File
> >   * 7F = Dedicated File
> > - * 2F = Elementary File under the Master File
> > + * 2F = Elementary File under the Main File
> >   * 6F = Elementary File under a Dedicated File
> >   */
> >  #define SCARD_FILE_MF                0x3F00
> > --
> > 2.32.0.93.g670b81a890-goog
> >
> >
> > _______________________________________________
> > Hostap mailing list
> > Hostap@lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/hostap
Daniel Golle July 15, 2021, 11:30 p.m. UTC | #3
Hi Arowa,

On Thu, Jul 15, 2021 at 01:43:44PM -0700, Arowa Suliman wrote:
> Hey Daniel, thanks for the review. I really appreciate it.

You are very welcome. Obviously, the better and more accurate we manage
to get these replacements to be, the higher the chances project members
are going to consider them.

> 
> On Thu, Jul 8, 2021 at 5:58 PM Daniel Golle <daniel@makrotopia.org> wrote:
> >
> > Hi Arowa,
> >
> > On Thu, Jul 08, 2021 at 11:23:56AM -0700, Arowa Suliman wrote:
> > > Replaced the words Master with the inclusive word Main.
> > >
> > > Signed-off-by: Arowa Suliman <arowa@chromium.org>
> > > ---
> > >  doc/doxygen.conf            | 2 +-
> > >  src/drivers/driver_hostap.h | 4 ++--
> > >  src/p2p/p2p.h               | 2 +-
> > >  src/utils/pcsc_funcs.c      | 4 ++--
> > >  4 files changed, 6 insertions(+), 6 deletions(-)
> > >
> > > diff --git a/doc/doxygen.conf b/doc/doxygen.conf
> > > index 3f0117393..b283b74ba 100644
> > > --- a/doc/doxygen.conf
> > > +++ b/doc/doxygen.conf
> > > @@ -883,7 +883,7 @@ HHC_LOCATION           =
> > >
> > >  # If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag
> > >  # controls if a separate .chi index file is generated (YES) or that
> > > -# it should be included in the master .chm file (NO).
> > > +# it should be included in the main .chm file (NO).
> > >
> > >  GENERATE_CHI           = NO
> > >
> > > diff --git a/src/drivers/driver_hostap.h b/src/drivers/driver_hostap.h
> > > index 4c1e6d69f..ab3d92ca5 100644
> > > --- a/src/drivers/driver_hostap.h
> > > +++ b/src/drivers/driver_hostap.h
> > > @@ -55,8 +55,8 @@ enum {
> > >       PRISM2_PARAM_MONITOR_ALLOW_FCSERR = 16,
> > >       PRISM2_PARAM_HOST_ENCRYPT = 17,
> > >       PRISM2_PARAM_HOST_DECRYPT = 18,
> > > -     PRISM2_PARAM_BUS_MASTER_THRESHOLD_RX = 19,
> > > -     PRISM2_PARAM_BUS_MASTER_THRESHOLD_TX = 20,
> > > +     PRISM2_PARAM_BUS_MAIN_THRESHOLD_RX = 19,
> > > +     PRISM2_PARAM_BUS_MAIN_THRESHOLD_TX = 20,
> >
> > I'm not sure this is an appropriate replacement.
> > See https://en.wikipedia.org/wiki/Bus_mastering
> > Imho "Bus owner" would be a good replacement for "Bus master".
> I agree with you, "Bus Owner" is more suitable here.
> 
> >
> > >       PRISM2_PARAM_HOST_ROAMING = 21,
> > >       PRISM2_PARAM_BCRX_STA_KEY = 22,
> > >       PRISM2_PARAM_IEEE_802_1X = 23,
> > > diff --git a/src/p2p/p2p.h b/src/p2p/p2p.h
> > > index f606fbb14..af13b28bd 100644
> > > --- a/src/p2p/p2p.h
> > > +++ b/src/p2p/p2p.h
> > > @@ -486,7 +486,7 @@ struct p2p_config {
> > >        * case for this is to include passive-scan channels on devices that may
> > >        * not know their current location and have configured most channels to
> > >        * not allow initiation of radition (i.e., another device needs to take
> > > -      * master responsibilities).
> > > +      * main responsibilities).
> >
> > In this case I guess the writer was refering to "access point mode"
> > which used to be called "master mode" long time ago.
> > Translating that as "main" would leave me with a question mark.
> With regard to "master responsibilities", I can change it to "leader
> responsibilities". WDYT?

It's a tricky one.
"supervisor resonsibilities" could be a good match, but I don't feel
100% satisfied with it (and you also have to take into account that
English is not my first language).


> 
> >
> > >        */
> > >       struct p2p_channels cli_channels;
> > >
> > > diff --git a/src/utils/pcsc_funcs.c b/src/utils/pcsc_funcs.c
> > > index 383ed3ddf..ba3924d06 100644
> > > --- a/src/utils/pcsc_funcs.c
> > > +++ b/src/utils/pcsc_funcs.c
> > > @@ -90,9 +90,9 @@
> > >
> > >  /* GSM files
> > >   * File type in first octet:
> > > - * 3F = Master File
> > > + * 3F = Main File
> > >   * 7F = Dedicated File
> > > - * 2F = Elementary File under the Master File
> > > + * 2F = Elementary File under the Main File
> > >   * 6F = Elementary File under a Dedicated File
> > >   */
> > >  #define SCARD_FILE_MF                0x3F00
> > > --
> > > 2.32.0.93.g670b81a890-goog
> > >
> > >
> > > _______________________________________________
> > > Hostap mailing list
> > > Hostap@lists.infradead.org
> > > http://lists.infradead.org/mailman/listinfo/hostap
diff mbox series

Patch

diff --git a/doc/doxygen.conf b/doc/doxygen.conf
index 3f0117393..b283b74ba 100644
--- a/doc/doxygen.conf
+++ b/doc/doxygen.conf
@@ -883,7 +883,7 @@  HHC_LOCATION           =
 
 # If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag
 # controls if a separate .chi index file is generated (YES) or that
-# it should be included in the master .chm file (NO).
+# it should be included in the main .chm file (NO).
 
 GENERATE_CHI           = NO
 
diff --git a/src/drivers/driver_hostap.h b/src/drivers/driver_hostap.h
index 4c1e6d69f..ab3d92ca5 100644
--- a/src/drivers/driver_hostap.h
+++ b/src/drivers/driver_hostap.h
@@ -55,8 +55,8 @@  enum {
 	PRISM2_PARAM_MONITOR_ALLOW_FCSERR = 16,
 	PRISM2_PARAM_HOST_ENCRYPT = 17,
 	PRISM2_PARAM_HOST_DECRYPT = 18,
-	PRISM2_PARAM_BUS_MASTER_THRESHOLD_RX = 19,
-	PRISM2_PARAM_BUS_MASTER_THRESHOLD_TX = 20,
+	PRISM2_PARAM_BUS_MAIN_THRESHOLD_RX = 19,
+	PRISM2_PARAM_BUS_MAIN_THRESHOLD_TX = 20,
 	PRISM2_PARAM_HOST_ROAMING = 21,
 	PRISM2_PARAM_BCRX_STA_KEY = 22,
 	PRISM2_PARAM_IEEE_802_1X = 23,
diff --git a/src/p2p/p2p.h b/src/p2p/p2p.h
index f606fbb14..af13b28bd 100644
--- a/src/p2p/p2p.h
+++ b/src/p2p/p2p.h
@@ -486,7 +486,7 @@  struct p2p_config {
 	 * case for this is to include passive-scan channels on devices that may
 	 * not know their current location and have configured most channels to
 	 * not allow initiation of radition (i.e., another device needs to take
-	 * master responsibilities).
+	 * main responsibilities).
 	 */
 	struct p2p_channels cli_channels;
 
diff --git a/src/utils/pcsc_funcs.c b/src/utils/pcsc_funcs.c
index 383ed3ddf..ba3924d06 100644
--- a/src/utils/pcsc_funcs.c
+++ b/src/utils/pcsc_funcs.c
@@ -90,9 +90,9 @@ 
 
 /* GSM files
  * File type in first octet:
- * 3F = Master File
+ * 3F = Main File
  * 7F = Dedicated File
- * 2F = Elementary File under the Master File
+ * 2F = Elementary File under the Main File
  * 6F = Elementary File under a Dedicated File
  */
 #define SCARD_FILE_MF		0x3F00